[ServerConnection]({#ref classicy_1_1http_1_1ServerConnection #}) and per-request [ServerResponder]({#ref classicy_1_1http_1_1ServerResponder #}) objects.#include <icy/http/server.h>Factory for creating per-socket [ServerConnection](icy-http-ServerConnection.html#serverconnection) and per-request [ServerResponder](icy-http-ServerResponder.html#serverresponder) objects.
| Return | Name | Description |
|---|---|---|
ServerConnectionFactory | Defaulted constructor. | |
ServerConnection::Ptr | createConnection virtual inline | Creates the [ServerConnection](icy-http-ServerConnection.html#serverconnection) wrapper for an accepted TCP socket. |
std::unique_ptr< ServerResponder > | createResponder virtual inline | Creates the responder for the current request on connection. |
ServerConnectionFactory() = defaultDefaulted constructor.
virtual inline
virtual inline ServerConnection::Ptr createConnection(Server & server, const net::TCPSocket::Ptr & socket)Creates the [ServerConnection](icy-http-ServerConnection.html#serverconnection) wrapper for an accepted TCP socket.
virtual inline
virtual inline std::unique_ptr< ServerResponder > createResponder(ServerConnection & connection)Creates the responder for the current request on connection.