mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
RequestServer+LibProtocol: Allow users to specify a per-request proxy
This commit is contained in:
parent
cd9d740107
commit
45867435c4
16 changed files with 52 additions and 24 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
HttpProtocol();
|
||||
~HttpProtocol() override = default;
|
||||
|
||||
virtual OwnPtr<Request> start_request(ConnectionFromClient&, String const& method, const URL&, HashMap<String, String> const& headers, ReadonlyBytes body) override;
|
||||
virtual OwnPtr<Request> start_request(ConnectionFromClient&, String const& method, const URL&, HashMap<String, String> const& headers, ReadonlyBytes body, Core::ProxyData proxy_data = {}) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue