From c2cc2e5c759863229ce9d48d014243f6e7260353 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 7 Jul 2022 13:09:11 -0600 Subject: Create an HttpRequest class --- src/ClientConnection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ClientConnection.h') diff --git a/src/ClientConnection.h b/src/ClientConnection.h index 55be620..b322c07 100644 --- a/src/ClientConnection.h +++ b/src/ClientConnection.h @@ -1,12 +1,13 @@ #pragma once +#include "HttpRequest.h" #include "HttpResponse.h" class ClientConnection { public: ClientConnection(int socket); - void dump_request_data(); + HttpRequest read_request(); bool send(const HttpResponse&); void close_connection(); -- cgit v1.2.3