endpoint RequestServer { // Basic protocol Greet() => () // Test if a specific protocol is supported, e.g "http" IsSupportedProtocol(String protocol) => (bool supported) StartRequest(String method, URL url, IPC::Dictionary request_headers, ByteBuffer request_body) => (i32 request_id, Optional response_fd) StopRequest(i32 request_id) => (bool success) SetCertificate(i32 request_id, String certificate, String key) => (bool success) }