mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-25 00:25:36 +02:00
* HTTPServer.{cpp,h}: merge HandleWriteReply & Terminate : the same purpose
This commit is contained in:
parent
fd928e8d12
commit
0c8fdfca7d
2 changed files with 16 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue