mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00

This makes it so the clients don't have to wait for RS to become responsive, potentially allowing them to do other things while RS handles the connections. Fixes #23306.
12 lines
484 B
Text
12 lines
484 B
Text
#include <AK/URL.h>
|
|
|
|
endpoint RequestClient
|
|
{
|
|
request_started(i32 request_id, IPC::File fd) =|
|
|
request_progress(i32 request_id, Optional<u64> total_size, u64 downloaded_size) =|
|
|
request_finished(i32 request_id, bool success, u64 total_size) =|
|
|
headers_became_available(i32 request_id, HashMap<ByteString,ByteString,CaseInsensitiveStringTraits> response_headers, Optional<u32> status_code) =|
|
|
|
|
// Certificate requests
|
|
certificate_requested(i32 request_id) =|
|
|
}
|