1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 09:25:11 +00:00
serenity/Services/ProtocolServer/ProtocolServer.ipc
2020-06-07 22:55:33 +02:00

15 lines
479 B
Text

endpoint ProtocolServer = 9
{
// Basic protocol
Greet() => (i32 client_id)
// FIXME: It would be nice if the kernel provided a way to avoid this
DisownSharedBuffer(i32 shbuf_id) => ()
// Test if a specific protocol is supported, e.g "http"
IsSupportedProtocol(String protocol) => (bool supported)
// Download API
StartDownload(URL url, IPC::Dictionary request_headers) => (i32 download_id)
StopDownload(i32 download_id) => (bool success)
}