Added Server::stop()
This commit is contained in:
parent
2f75911550
commit
084f45cc33
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ namespace SimpleWeb {
|
|||
}
|
||||
}
|
||||
|
||||
void stop() {
|
||||
m_io_service.stop();
|
||||
}
|
||||
|
||||
protected:
|
||||
boost::asio::io_service m_io_service;
|
||||
boost::asio::ip::tcp::endpoint endpoint;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue