summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer/Protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/RequestServer/Protocol.h')
-rw-r--r--Userland/Services/RequestServer/Protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Services/RequestServer/Protocol.h b/Userland/Services/RequestServer/Protocol.h
index e0ab1493fc..c3d86d896a 100644
--- a/Userland/Services/RequestServer/Protocol.h
+++ b/Userland/Services/RequestServer/Protocol.h
@@ -8,6 +8,7 @@
#include <AK/RefPtr.h>
#include <AK/URL.h>
+#include <LibCore/Proxy.h>
#include <RequestServer/Forward.h>
namespace RequestServer {
@@ -17,7 +18,7 @@ public:
virtual ~Protocol();
String const& name() const { return m_name; }
- virtual OwnPtr<Request> start_request(ConnectionFromClient&, String const& method, const URL&, HashMap<String, String> const& headers, ReadonlyBytes body) = 0;
+ virtual OwnPtr<Request> start_request(ConnectionFromClient&, String const& method, const URL&, HashMap<String, String> const& headers, ReadonlyBytes body, Core::ProxyData proxy_data = {}) = 0;
static Protocol* find_by_name(String const&);