* HTTPServer.{cpp,h}: merge HandleWriteReply & Terminate : the same purpose

This commit is contained in:
hagen 2016-04-27 00:00:00 +00:00
parent fd928e8d12
commit 0c8fdfca7d
2 changed files with 16 additions and 23 deletions

View file

@ -18,9 +18,8 @@ namespace http {
private:
void Terminate ();
void HandleReceive (const boost::system::error_code& ecode, std::size_t bytes_transferred);
void HandleWriteReply(const boost::system::error_code& ecode);
void Terminate (const boost::system::error_code& ecode);
void SendReply (const std::string& content, int code = 200);
void SendError (const std::string& message);