summaryrefslogtreecommitdiff
path: root/server/src/client_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/client_connection.h')
-rw-r--r--server/src/client_connection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/client_connection.h b/server/src/client_connection.h
index 69e6fe7..6427217 100644
--- a/server/src/client_connection.h
+++ b/server/src/client_connection.h
@@ -51,13 +51,12 @@ public:
bool nocommit;
};
- ClientConnection(Environment &e, Parameters cp);
+ ClientConnection(Environment &e, headers_t &headers);
~ClientConnection();
bool handle(const char *data, size_t size);
- std::string getResponse();
- headers_t getHeaders();
+ void getReply(Httpd::Reply &reply);
private:
void commit(Session *session);