From 7f1d6bbc335288df1e24e7c8f305c32afe6b050a Mon Sep 17 00:00:00 2001 From: cflip Date: Mon, 8 May 2023 21:25:21 -0600 Subject: Begin rewriting cfws in C --- src/ClientConnection.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/ClientConnection.h (limited to 'src/ClientConnection.h') 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 }; -}; -- cgit v1.2.3