mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Implement :about protocol support for load_unbuffered()
Preparation work before enabling unbuffered fetching by default.
This commit is contained in:
parent
2fd7b70784
commit
1f4b53d9fc
Notes:
github-actions[bot]
2025-11-20 11:31:12 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 1f4b53d9fc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6839
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 60 additions and 33 deletions
|
|
@ -80,6 +80,8 @@ private:
|
|||
};
|
||||
template<typename FileHandler, typename ErrorHandler>
|
||||
void handle_file_load_request(LoadRequest& request, FileHandler on_file, ErrorHandler on_error);
|
||||
template<typename Callback>
|
||||
void handle_about_load_request(LoadRequest const& request, Callback callback);
|
||||
|
||||
RefPtr<Requests::Request> start_network_request(LoadRequest const&);
|
||||
void handle_network_response_headers(LoadRequest const&, HTTP::HeaderMap const&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue