diff options
author | cflip <cflip@cflip.net> | 2022-07-07 13:09:11 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-07-07 13:10:00 -0600 |
commit | c2cc2e5c759863229ce9d48d014243f6e7260353 (patch) | |
tree | 6be10b768b5f43af91840ae5c7cfecccff662d41 /src/ClientConnection.h | |
parent | 82c2af5878bb4c695a48c2d0707dffdb9356fce3 (diff) |
Create an HttpRequest class
Diffstat (limited to 'src/ClientConnection.h')
-rw-r--r-- | src/ClientConnection.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |