1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 00:15:06 +00:00
serenity/Userland/Services/ProtocolServer/ProtocolServer.ipc
Andreas Kling 1ce03f4f34 LibIPC: Stop sending client ID to clients
The client ID is not useful to normal clients anymore, so stop telling
everyone what their ID is.
2021-02-01 11:32:00 +01:00

13 lines
507 B
Text

endpoint ProtocolServer = 9
{
// Basic protocol
Greet() => ()
// Test if a specific protocol is supported, e.g "http"
IsSupportedProtocol(String protocol) => (bool supported)
// Download API
StartDownload(String method, URL url, IPC::Dictionary request_headers, ByteBuffer request_body) => (i32 download_id, Optional<IPC::File> response_fd)
StopDownload(i32 download_id) => (bool success)
SetCertificate(i32 download_id, String certificate, String key) => (bool success)
}