summaryrefslogtreecommitdiff
path: root/Userland/Services/WebServer
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-10 01:00:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commit43f98ac6e1eb913846980226b2524a4b419c6183 (patch)
treeb0c508cafcd9cb9d4698d0bad4579cfc433a9e14 /Userland/Services/WebServer
parent874c7bba289222916911caf3102c77ee3a261d77 (diff)
downloadserenity-43f98ac6e1eb913846980226b2524a4b419c6183.zip
Everywhere: Remove the `AK::` qualifier from Stream usages
Diffstat (limited to 'Userland/Services/WebServer')
-rw-r--r--Userland/Services/WebServer/Client.cpp2
-rw-r--r--Userland/Services/WebServer/Client.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WebServer/Client.cpp b/Userland/Services/WebServer/Client.cpp
index ae65737e3f..a64c9b3f41 100644
--- a/Userland/Services/WebServer/Client.cpp
+++ b/Userland/Services/WebServer/Client.cpp
@@ -176,7 +176,7 @@ ErrorOr<bool> Client::handle_request(ReadonlyBytes raw_request)
return true;
}
-ErrorOr<void> Client::send_response(AK::Stream& response, HTTP::HttpRequest const& request, ContentInfo content_info)
+ErrorOr<void> Client::send_response(Stream& response, HTTP::HttpRequest const& request, ContentInfo content_info)
{
StringBuilder builder;
builder.append("HTTP/1.0 200 OK\r\n"sv);
diff --git a/Userland/Services/WebServer/Client.h b/Userland/Services/WebServer/Client.h
index fea868536e..93365d7332 100644
--- a/Userland/Services/WebServer/Client.h
+++ b/Userland/Services/WebServer/Client.h
@@ -30,7 +30,7 @@ private:
};
ErrorOr<bool> handle_request(ReadonlyBytes);
- ErrorOr<void> send_response(AK::Stream&, HTTP::HttpRequest const&, ContentInfo);
+ ErrorOr<void> send_response(Stream&, HTTP::HttpRequest const&, ContentInfo);
ErrorOr<void> send_redirect(StringView redirect, HTTP::HttpRequest const&);
ErrorOr<void> send_error_response(unsigned code, HTTP::HttpRequest const&, Vector<String> const& headers = {});
void die();