aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpasio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/httpasio.h')
-rw-r--r--src/zenhttp/httpasio.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/zenhttp/httpasio.h b/src/zenhttp/httpasio.h
index e8d13a57f..57068f7c5 100644
--- a/src/zenhttp/httpasio.h
+++ b/src/zenhttp/httpasio.h
@@ -9,28 +9,6 @@
namespace zen {
-namespace asio_http {
- struct HttpAsioServerImpl;
-} // namespace asio_http
-
-class HttpAsioServer : public HttpServer
-{
-public:
- HttpAsioServer(unsigned int ThreadCount);
- ~HttpAsioServer();
-
- virtual void RegisterService(HttpService& Service) override;
- virtual int Initialize(int BasePort) override;
- virtual void Run(bool IsInteractiveSession) override;
- virtual void RequestExit() override;
- virtual void Close() override;
-
-private:
- Event m_ShutdownEvent;
- int m_BasePort = 0;
- unsigned int m_ThreadCount = 0;
-
- std::unique_ptr<asio_http::HttpAsioServerImpl> m_Impl;
-};
+Ref<HttpServer> CreateHttpAsioServer(unsigned int ThreadCount);
} // namespace zen