1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 17:15:07 +00:00
serenity/Userland/Services/RequestServer/RequestServer.ipc
Timothy 944e5cfb35 Everywhere: Use IPC include syntax
Remove superfluous includes from IPCCompiler's generated output and
add include directives in IPC definitions where appropriate.
2021-07-03 12:16:00 +02:00

11 lines
462 B
Text

#include <AK/URL.h>
endpoint RequestServer
{
// 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)
}