diff options
author | cflip <cflip@cflip.net> | 2023-05-08 21:25:21 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2023-05-08 21:25:21 -0600 |
commit | 7f1d6bbc335288df1e24e7c8f305c32afe6b050a (patch) | |
tree | 3ca1784ab73315e44dd9e03b2f0e244a59158fbc /src/ClientConnection.h | |
parent | 83fb0b96c94e7f596f81d5bc346150904457ed64 (diff) |
Begin rewriting cfws in C
Diffstat (limited to 'src/ClientConnection.h')
-rw-r--r-- | src/ClientConnection.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ClientConnection.h b/src/ClientConnection.h deleted file mode 100644 index fee0aeb..0000000 --- a/src/ClientConnection.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include "HttpRequest.h" -#include "HttpResponse.h" - -class ClientConnection { -public: - ClientConnection(int socket); - - HttpRequest read_request() const; - - bool send(const HttpResponse&) const; - void close_connection(); - -private: - int m_socket_fd; - bool m_is_open { true }; -}; |