SNode.C
|
#include <SocketContextFactory.h>
Public Types | |
using | Request = RequestT |
using | Response = ResponseT |
Public Member Functions | |
SocketContextFactory (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &onRequestReady) | |
![]() | |
SocketContextFactory (SocketContextFactory &)=delete | |
SocketContextFactory (SocketContextFactory &&)=delete | |
SocketContextFactory & | operator= (SocketContextFactory &)=delete |
SocketContextFactory & | operator= (SocketContextFactory &&)=delete |
Private Member Functions | |
core::socket::stream::SocketContext * | create (core::socket::stream::SocketConnection *socketConnection) override |
Private Attributes | |
std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> | onRequestReady |
Additional Inherited Members | |
![]() | |
using | Request |
using | Response |
using | SocketContext |
![]() | |
SocketContextFactory ()=default | |
~SocketContextFactory () override=default | |
![]() | |
SocketContextFactory ()=default | |
Definition at line 37 of file SocketContextFactory.h.
using web::http::server::SocketContextFactory< RequestT, ResponseT >::Request = RequestT |
Definition at line 39 of file SocketContextFactory.h.
using web::http::server::SocketContextFactory< RequestT, ResponseT >::Response = ResponseT |
Definition at line 40 of file SocketContextFactory.h.
|
inlineexplicit |
Definition at line 42 of file SocketContextFactory.h.
References web::http::server::SocketContextFactory< RequestT, ResponseT >::onRequestReady.
|
inlineoverrideprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 48 of file SocketContextFactory.h.
|
private |
Definition at line 52 of file SocketContextFactory.h.
Referenced by web::http::server::SocketContextFactory< RequestT, ResponseT >::SocketContextFactory().