From 82c2af5878bb4c695a48c2d0707dffdb9356fce3 Mon Sep 17 00:00:00 2001 From: cflip Date: Thu, 7 Jul 2022 12:06:33 -0600 Subject: Add some more abstractions to HttpResponse --- src/ClientConnection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ClientConnection.h') diff --git a/src/ClientConnection.h b/src/ClientConnection.h index 6fdf99e..55be620 100644 --- a/src/ClientConnection.h +++ b/src/ClientConnection.h @@ -8,8 +8,8 @@ public: void dump_request_data(); - bool send(const HttpResponse&, const char*); - void close(); + bool send(const HttpResponse&); + void close_connection(); private: int m_socket_fd; bool m_is_open { true }; -- cgit v1.2.3