Serenity Operating System
1endpoint ProtocolServer = 9
2{
3 // Basic protocol
4 Greet() => (i32 client_id)
5
6 // FIXME: It would be nice if the kernel provided a way to avoid this
7 DisownSharedBuffer(i32 shbuf_id) => ()
8
9 // Test if a specific protocol is supported, e.g "http"
10 IsSupportedProtocol(String protocol) => (bool supported)
11
12 // Download API
13 StartDownload(String url) => (i32 download_id)
14 StopDownload(i32 download_id) => (bool success)
15}