1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 04:24:59 +00:00
serenity/Userland/Services/RequestServer/RequestServer.ipc
Gunnar Beutner 9e22e9ce88 Userland: Use snake case names in .ipc files
This updates all .ipc files to have snake case names for IPC methods.
2021-05-03 21:14:40 +02:00

12 lines
482 B
Text

endpoint RequestServer
{
// Basic protocol
greet() => ()
// Test if a specific protocol is supported, e.g "http"
is_supported_protocol(String protocol) => (bool supported)
start_request(String method, URL url, IPC::Dictionary request_headers, ByteBuffer request_body) => (i32 request_id, Optional<IPC::File> response_fd)
stop_request(i32 request_id) => (bool success)
set_certificate(i32 request_id, String certificate, String key) => (bool success)
}