mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:27:45 +00:00
RequestServer: Make Request::url() virtual
Let the Request subclass decide how they store the URL instead of storing it in a Request member.
This commit is contained in:
parent
f73eae1245
commit
b7d316d291
4 changed files with 7 additions and 2 deletions
|
@ -21,6 +21,8 @@ public:
|
|||
HTTP::HttpsJob& job() { return m_job; }
|
||||
HTTP::HttpsJob const& job() const { return m_job; }
|
||||
|
||||
virtual URL url() const override { return m_job->url(); }
|
||||
|
||||
private:
|
||||
explicit HttpsRequest(ClientConnection&, NonnullRefPtr<HTTP::HttpsJob>, NonnullOwnPtr<OutputFileStream>&&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue