10Duke Scale C++ Client
Loading...
Searching...
No Matches
HTTPServerFactory.h
1#ifndef TENDUKE_HTTP_SERVER_HTTPSERVERFACTORY_H
2#define TENDUKE_HTTP_SERVER_HTTPSERVERFACTORY_H
3
4#include "./AbstractHTTPServer.h"
5#include <cstdint>
6#include <memory>
7
8namespace tenduke { namespace http { namespace server {
9
14{
15public:
16 virtual ~HTTPServerFactory() = default;
17
24 virtual std::unique_ptr<tenduke::http::server::AbstractHTTPServer> create(std::uint16_t port) const = 0;
25};
26
27}}}
28
29#endif //TENDUKE_HTTP_SERVER_HTTPSERVERFACTORY_H
Creates HTTPServer.
Definition HTTPServerFactory.h:14
virtual std::unique_ptr< tenduke::http::server::AbstractHTTPServer > create(std::uint16_t port) const =0
Creates the HTTP-server.
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7