mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
RequestServer: Retrieve timing info from curl and pipe it to LibWeb
This timing info will be used to create a PerformanceResourceTiming entry.
This commit is contained in:
parent
21d26c5c3e
commit
209b10e53e
Notes:
github-actions[bot]
2025-03-06 16:02:28 +00:00
Author: https://github.com/Lubrsi
Commit: 209b10e53e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3704
Reviewed-by: https://github.com/ADKaster ✅
12 changed files with 268 additions and 51 deletions
|
@ -1,11 +1,12 @@
|
|||
#include <LibHTTP/HeaderMap.h>
|
||||
#include <LibRequests/NetworkErrorEnum.h>
|
||||
#include <LibRequests/RequestTimingInfo.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) =|
|
||||
request_finished(i32 request_id, u64 total_size, Requests::RequestTimingInfo timing_info, 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue