blob: 80097ebff448d49bd8dca4787ad9850131cc49c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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)
}
|