diff options
author | deva <deva> | 2011-02-07 11:15:52 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-07 11:15:52 +0000 |
commit | 4ea34b413bd21c0e8ec4c3b93840bfe928d3c9c4 (patch) | |
tree | 693c2416ad98911b98b2249c324de640841bfa20 /server/src/client_connection.h | |
parent | 1f3b20415c59ce08479d9291b92bbe5ffa8b2f6c (diff) |
Cleaned up the Connection interface a bit.
Diffstat (limited to 'server/src/client_connection.h')
-rw-r--r-- | server/src/client_connection.h | 5 |
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); |