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:
parent
eb21aa65d1
commit
9e22e9ce88
36 changed files with 296 additions and 287 deletions
|
@ -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) => ()
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue