summaryrefslogtreecommitdiff
path: root/src/ClientConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientConnection.h')
-rw-r--r--src/ClientConnection.h18
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 };
-};