HTTP module
ServerConnectionFactory
Factory for creating per-socket
ServerConnection and per-request ServerResponder objects.#include <icy/http/server.h>
class ServerConnectionFactoryDefined in src/http/include/icy/http/server.h:207
Factory for creating per-socket ServerConnection and per-request ServerResponder objects.
Public Methods
| Return | Name | Description |
|---|---|---|
ServerConnectionFactory | Defaulted constructor. | |
~ServerConnectionFactory virtual | Defaulted destructor. | |
ServerConnection::Ptr | createConnection virtual inline | Creates the ServerConnection wrapper for an accepted TCP socket. |
std::unique_ptr< ServerResponder > | createResponder virtual inline | Creates the responder for the current request on connection. |
ServerConnectionFactory
ServerConnectionFactory() = defaultDefined in src/http/include/icy/http/server.h:210
Defaulted constructor.
~ServerConnectionFactory
virtual
virtual ~ServerConnectionFactory() = defaultDefined in src/http/include/icy/http/server.h:211
Defaulted destructor.
createConnection
virtual inline
virtual inline ServerConnection::Ptr createConnection(Server & server, const net::TCPSocket::Ptr & socket)Defined in src/http/include/icy/http/server.h:214
Creates the ServerConnection wrapper for an accepted TCP socket.
createResponder
virtual inline
virtual inline std::unique_ptr< ServerResponder > createResponder(ServerConnection & connection)Defined in src/http/include/icy/http/server.h:220
Creates the responder for the current request on connection.
