1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:07:45 +00:00

Userland: Use snake case names in .ipc files

This updates all .ipc files to have snake case names for IPC methods.
This commit is contained in:
Gunnar Beutner 2021-05-03 15:52:56 +02:00 committed by Andreas Kling
parent eb21aa65d1
commit 9e22e9ce88
36 changed files with 296 additions and 287 deletions

View file

@ -1,9 +1,9 @@
endpoint RequestClient
{
RequestProgress(i32 request_id, Optional<u32> total_size, u32 downloaded_size) =|
RequestFinished(i32 request_id, bool success, u32 total_size) =|
HeadersBecameAvailable(i32 request_id, IPC::Dictionary response_headers, Optional<u32> status_code) =|
request_progress(i32 request_id, Optional<u32> total_size, u32 downloaded_size) =|
request_finished(i32 request_id, bool success, u32 total_size) =|
headers_became_available(i32 request_id, IPC::Dictionary response_headers, Optional<u32> status_code) =|
// Certificate requests
CertificateRequested(i32 request_id) => ()
certificate_requested(i32 request_id) => ()
}

View file

@ -1,12 +1,12 @@
endpoint RequestServer
{
// Basic protocol
Greet() => ()
greet() => ()
// Test if a specific protocol is supported, e.g "http"
IsSupportedProtocol(String protocol) => (bool supported)
is_supported_protocol(String protocol) => (bool supported)
StartRequest(String method, URL url, IPC::Dictionary request_headers, ByteBuffer request_body) => (i32 request_id, Optional<IPC::File> response_fd)
StopRequest(i32 request_id) => (bool success)
SetCertificate(i32 request_id, String certificate, String key) => (bool success)
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)
}