summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibHTTP/HttpJob.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibHTTP/HttpJob.h')
-rw-r--r--Userland/Libraries/LibHTTP/HttpJob.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Libraries/LibHTTP/HttpJob.h b/Userland/Libraries/LibHTTP/HttpJob.h
index 07100cd0a0..16ccb3abfb 100644
--- a/Userland/Libraries/LibHTTP/HttpJob.h
+++ b/Userland/Libraries/LibHTTP/HttpJob.h
@@ -27,9 +27,12 @@ public:
{
}
- virtual void start() override;
+ virtual void start(NonnullRefPtr<Core::Socket>) override;
virtual void shutdown() override;
+ Core::Socket const* socket() const { return m_socket; }
+ URL url() const { return m_request.url(); }
+
protected:
virtual bool should_fail_on_empty_payload() const override { return false; }
virtual void register_on_ready_to_read(Function<void()>) override;