diff --git a/server_http.hpp b/server_http.hpp index bba616f..fa160eb 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -62,6 +62,10 @@ namespace SimpleWeb { t.join(); } } + + void stop() { + m_io_service.stop(); + } protected: boost::asio::io_service m_io_service;