Rename ServerBase::read_request_and_content to ServerBase::read, and ServerBase::write_response to ServerBase::write

This commit is contained in:
eidheim 2017-11-18 13:56:54 +01:00
commit 0c8da107a6
2 changed files with 10 additions and 10 deletions

View file

@ -72,7 +72,7 @@ namespace SimpleWeb {
if(!lock)
return;
if(!ec)
this->read_request_and_content(session);
this->read(session);
else if(this->on_error)
this->on_error(session->request, ec);
});