|
SNode.C
|
#include <SocketContextFactory.h>
Public Types | |
| using | Request = web::http::server::Request |
| using | Response = web::http::server::Response |
Public Member Functions | |
| SocketContextFactory (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &onRequestReady) | |
Public Member Functions inherited from core::socket::stream::SocketContextFactory | |
| 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 | |
Protected Member Functions inherited from web::http::SocketContextFactory< web::http::server::SocketContext > | |
| SocketContextFactory ()=default | |
| ~SocketContextFactory () override=default | |
Protected Member Functions inherited from core::socket::stream::SocketContextFactory | |
| SocketContextFactory ()=default | |
Definition at line 64 of file SocketContextFactory.h.
Definition at line 66 of file SocketContextFactory.h.
Definition at line 67 of file SocketContextFactory.h.
|
explicit |
Definition at line 50 of file SocketContextFactory.cpp.
References onRequestReady.
|
overrideprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 55 of file SocketContextFactory.cpp.
References onRequestReady, and web::http::server::SocketContext::SocketContext().
|
private |
Definition at line 75 of file SocketContextFactory.h.
Referenced by create(), and SocketContextFactory().