mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
The client ID is not useful to normal clients anymore, so stop telling everyone what their ID is.
14 lines
507 B
Plaintext
14 lines
507 B
Plaintext
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)
|
|
}
|