mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37: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
|
@ -20,6 +20,8 @@ public:
|
|||
|
||||
Gemini::GeminiJob const& job() const { return *m_job; }
|
||||
|
||||
virtual URL url() const override { return m_job->url(); }
|
||||
|
||||
private:
|
||||
explicit GeminiRequest(ClientConnection&, NonnullRefPtr<Gemini::GeminiJob>, NonnullOwnPtr<OutputFileStream>&&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue