mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 03:18:11 +00:00
Services: Move to Userland/Services/
This commit is contained in:
parent
4055b03291
commit
c7ac7e6eaf
170 changed files with 4 additions and 4 deletions
13
Userland/Services/ProtocolServer/ProtocolServer.ipc
Normal file
13
Userland/Services/ProtocolServer/ProtocolServer.ipc
Normal file
|
@ -0,0 +1,13 @@
|
|||
endpoint ProtocolServer = 9
|
||||
{
|
||||
// Basic protocol
|
||||
Greet() => (i32 client_id)
|
||||
|
||||
// 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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue