Inject server configuration instead of using a singleton

This commit is contained in:
2019-06-16 11:49:04 +02:00
parent e9509fb117
commit d00fc33197
7 changed files with 24 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ private:
public:
void Execute();
HttpServer(Logger & logger);
HttpServer(Logger & logger, ServerConfiguration const & serverConfiguration);
HttpServer(HttpServer & other) = delete;
HttpServer & operator=(HttpServer & other) = delete;
};