HTTP module
ServerConnectionFactory
Factory for creating per-socket
ServerConnection and per-request ServerResponder objects.ServerConnectionFactory
#include <icy/http/server.h>class ServerConnectionFactoryDefined in src/http/include/icy/http/server.h:206
Factory for creating per-socket [ServerConnection](icy-http-ServerConnection.html#serverconnection-1) and per-request [ServerResponder](icy-http-ServerResponder.html#serverresponder) objects.
List of all members
| Name | Kind | Owner |
|---|---|---|
ServerConnectionFactory | function | Declared here |
~ServerConnectionFactory | function | Declared here |
createConnection | function | Declared here |
createResponder | function | Declared here |
Public Methods
| Return | Name | Description |
|---|---|---|
ServerConnectionFactory | Defaulted constructor. | |
ServerConnection::Ptr | createConnection virtual inline | Creates the [ServerConnection](icy-http-ServerConnection.html#serverconnection-1) 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:209
Defaulted constructor.
createConnection
virtual inline
virtual inline ServerConnection::Ptr createConnection(Server & server, const net::TCPSocket::Ptr & socket)Defined in src/http/include/icy/http/server.h:213
Creates the [ServerConnection](icy-http-ServerConnection.html#serverconnection-1) 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:219
Creates the responder for the current request on connection.
