summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer/HttpCommon.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2022-02-25 12:18:30 +0200
committerAndreas Kling <kling@serenityos.org>2022-02-25 22:35:12 +0100
commit3a71748e5d16a244c21aaf28ca3c4220c47f484e (patch)
treeea2751b9752bf299a2b3e3cdd613c7f8a36b7db1 /Userland/Services/RequestServer/HttpCommon.h
parentefac8625703e9b059af0f32422d0d274f99ae475 (diff)
downloadserenity-3a71748e5d16a244c21aaf28ca3c4220c47f484e.zip
Userland: Rename IPC ClientConnection => ConnectionFromClient
This was done with CLion's automatic rename feature and with: find . -name ClientConnection.h | rename 's/ClientConnection\.h/ConnectionFromClient.h/' find . -name ClientConnection.cpp | rename 's/ClientConnection\.cpp/ConnectionFromClient.cpp/'
Diffstat (limited to 'Userland/Services/RequestServer/HttpCommon.h')
-rw-r--r--Userland/Services/RequestServer/HttpCommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/RequestServer/HttpCommon.h b/Userland/Services/RequestServer/HttpCommon.h
index 797ddab245..f7bd86b9d5 100644
--- a/Userland/Services/RequestServer/HttpCommon.h
+++ b/Userland/Services/RequestServer/HttpCommon.h
@@ -14,8 +14,8 @@
#include <AK/String.h>
#include <AK/Types.h>
#include <LibHTTP/HttpRequest.h>
-#include <RequestServer/ClientConnection.h>
#include <RequestServer/ConnectionCache.h>
+#include <RequestServer/ConnectionFromClient.h>
#include <RequestServer/Request.h>
namespace RequestServer::Detail {
@@ -61,7 +61,7 @@ void init(TSelf* self, TJob job)
}
template<typename TBadgedProtocol, typename TPipeResult>
-OwnPtr<Request> start_request(TBadgedProtocol&& protocol, ClientConnection& client, const String& method, const URL& url, const HashMap<String, String>& headers, ReadonlyBytes body, TPipeResult&& pipe_result)
+OwnPtr<Request> start_request(TBadgedProtocol&& protocol, ConnectionFromClient& client, const String& method, const URL& url, const HashMap<String, String>& headers, ReadonlyBytes body, TPipeResult&& pipe_result)
{
using TJob = typename TBadgedProtocol::Type::JobType;
using TRequest = typename TBadgedProtocol::Type::RequestType;