mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Everywhere: Hoist the Services folder to the top-level
This commit is contained in:
parent
a7dc40eff3
commit
22e0eeada2
Notes:
github-actions[bot]
2024-11-10 11:52:06 +00:00
Author: https://github.com/trflynn89
Commit: 22e0eeada2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
68 changed files with 41 additions and 41 deletions
23
Services/RequestServer/RequestClient.ipc
Normal file
23
Services/RequestServer/RequestClient.ipc
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include <LibHTTP/HeaderMap.h>
|
||||
#include <LibRequests/NetworkErrorEnum.h>
|
||||
#include <LibURL/URL.h>
|
||||
|
||||
endpoint RequestClient
|
||||
{
|
||||
request_started(i32 request_id, IPC::File fd) =|
|
||||
request_finished(i32 request_id, u64 total_size, Optional<Requests::NetworkError> network_error) =|
|
||||
headers_became_available(i32 request_id, HTTP::HeaderMap response_headers, Optional<u32> status_code, Optional<String> reason_phrase) =|
|
||||
|
||||
// Websocket API
|
||||
// FIXME: See if this can be merged with the regular APIs
|
||||
websocket_connected(i64 websocket_id) =|
|
||||
websocket_received(i64 websocket_id, bool is_text, ByteBuffer data) =|
|
||||
websocket_errored(i64 websocket_id, i32 message) =|
|
||||
websocket_closed(i64 websocket_id, u16 code, ByteString reason, bool clean) =|
|
||||
websocket_ready_state_changed(i64 websocket_id, u32 ready_state) =|
|
||||
websocket_subprotocol(i64 websocket_id, ByteString subprotocol) =|
|
||||
websocket_certificate_requested(i64 websocket_id) =|
|
||||
|
||||
// Certificate requests
|
||||
certificate_requested(i32 request_id) =|
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue