diff options
author | cflip <cflip@cflip.net> | 2022-07-07 12:06:33 -0600 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-07-07 12:06:33 -0600 |
commit | 82c2af5878bb4c695a48c2d0707dffdb9356fce3 (patch) | |
tree | 16a6a6fe1a1584bde55935892f02ff89b6f5eedb /src/ClientConnection.h | |
parent | 76e6c3d690caac3faa664b7b8b79cbc7c6a58394 (diff) |
Add some more abstractions to HttpResponse
Diffstat (limited to 'src/ClientConnection.h')
-rw-r--r-- | src/ClientConnection.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |