From 4ea34b413bd21c0e8ec4c3b93840bfe928d3c9c4 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 7 Feb 2011 11:15:52 +0000 Subject: Cleaned up the Connection interface a bit. --- server/src/client_connection.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server/src/client_connection.h') 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); -- cgit v1.2.3