10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
HTTPServerFactory Class Referenceabstract

#include <HTTPServerFactory.h>

Detailed Description

Creates HTTPServer.

Inheritance diagram for HTTPServerFactory:
tenduke::osa::DefaultHTTPServerFactory tenduke::test::mocks::HTTPServerFactoryMock

Public Member Functions

virtual std::unique_ptr< tenduke::http::server::AbstractHTTPServercreate (std::uint16_t port) const=0
 Creates the HTTP-server.
 

Member Function Documentation

◆ create()

virtual std::unique_ptr< tenduke::http::server::AbstractHTTPServer > tenduke::http::server::HTTPServerFactory::create ( std::uint16_t port) const
pure virtual

Creates the HTTP-server.

Parameters
portport wanted. Use the magic value tenduke::http::server::RANDOM_AVAILABLE_PORT to request random available port
Returns
new HTTP-server instance

The documentation for this class was generated from the following file: