mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibHTTP+ProtocolServer+LibGemini: Remove Request::schedule()
This API is only used for HttpRequest, but replicated in GeminiRequest without an actual user, so remove it and construct the job like the rest of the protocols.
This commit is contained in:
committed by
Andreas Kling
parent
b11b4b29e9
commit
a461526b07
@@ -38,13 +38,6 @@ HttpRequest::~HttpRequest()
|
||||
{
|
||||
}
|
||||
|
||||
RefPtr<Core::NetworkJob> HttpRequest::schedule()
|
||||
{
|
||||
auto job = HttpJob::construct(*this);
|
||||
job->start();
|
||||
return job;
|
||||
}
|
||||
|
||||
String HttpRequest::method_name() const
|
||||
{
|
||||
switch (m_method) {
|
||||
|
||||
Reference in New Issue
Block a user