diff options
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -6,4 +6,16 @@ using namespace std::string_literals; static const std::string VersionString{ "Webserver "s + std::string{VERSION} }; +class Server +{ +protected: + Config& m_config; + boost::asio::io_context& m_ioc; + +public: + Server(Config& config, boost::asio::io_context& ioc); + virtual ~Server(); + virtual int start() = 0; +}; + int server(Config& config); |