HTTP module

ServerConnectionFactory

Factory for creating per-socket ServerConnection and per-request ServerResponder objects.

#include <icy/http/server.h>

class ServerConnectionFactory

Defined in src/http/include/icy/http/server.h:207

Factory for creating per-socket ServerConnection and per-request ServerResponder objects.

Public Methods

ReturnNameDescription
ServerConnectionFactoryDefaulted constructor.
~ServerConnectionFactory virtualDefaulted destructor.
ServerConnection::PtrcreateConnection virtual inlineCreates the ServerConnection wrapper for an accepted TCP socket.
std::unique_ptr< ServerResponder >createResponder virtual inlineCreates the responder for the current request on connection.

ServerConnectionFactory

ServerConnectionFactory() = default

Defined in src/http/include/icy/http/server.h:210

Defaulted constructor.


~ServerConnectionFactory

virtual

virtual ~ServerConnectionFactory() = default

Defined 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.