mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
ProtocolServer: Put everything in the ProtocolServer namespace
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
#include <ProtocolServer/HttpDownload.h>
|
||||
#include <ProtocolServer/HttpProtocol.h>
|
||||
|
||||
namespace ProtocolServer {
|
||||
|
||||
HttpProtocol::HttpProtocol()
|
||||
: Protocol("http")
|
||||
{
|
||||
@@ -38,7 +40,7 @@ HttpProtocol::~HttpProtocol()
|
||||
{
|
||||
}
|
||||
|
||||
OwnPtr<Download> HttpProtocol::start_download(PSClientConnection& client, const URL& url)
|
||||
OwnPtr<Download> HttpProtocol::start_download(ClientConnection& client, const URL& url)
|
||||
{
|
||||
HTTP::HttpRequest request;
|
||||
request.set_method(HTTP::HttpRequest::Method::GET);
|
||||
@@ -48,3 +50,5 @@ OwnPtr<Download> HttpProtocol::start_download(PSClientConnection& client, const
|
||||
return nullptr;
|
||||
return HttpDownload::create_with_job({}, client, (HTTP::HttpJob&)*job);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user