diff options
Diffstat (limited to 'src/zenhttp/httpasio.h')
| -rw-r--r-- | src/zenhttp/httpasio.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/zenhttp/httpasio.h b/src/zenhttp/httpasio.h index de25c538f..81aadfc23 100644 --- a/src/zenhttp/httpasio.h +++ b/src/zenhttp/httpasio.h @@ -18,7 +18,7 @@ namespace asio_http { class HttpAsioServer : public HttpServer { public: - HttpAsioServer(); + HttpAsioServer(unsigned int ThreadCount); ~HttpAsioServer(); virtual void RegisterService(HttpService& Service) override; @@ -28,8 +28,9 @@ public: virtual void Close() override; private: - Event m_ShutdownEvent; - int m_BasePort = 0; + Event m_ShutdownEvent; + int m_BasePort = 0; + unsigned int m_ThreadCount = 0; std::unique_ptr<asio_http::HttpAsioServerImpl> m_Impl; }; |