SNode.C
|
#include <SocketContextFactory.h>
Public Types | |
using | Request = web::http::client::Request |
using | Response = web::http::client::Response |
Public Member Functions | |
SocketContextFactory (const std::function< void(const std::shared_ptr< Request > &)> &onRequestBegin, const std::function< void(const std::shared_ptr< Request > &)> &onRequestEnd, const std::function< net::config::ConfigInstance &()> &getConfigInstance) | |
void | setPipelinedRequests (bool pipelinedRequests) |
![]() | |
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 > &)> | onRequestBegin |
std::function< void(const std::shared_ptr< Request > &)> | onRequestEnd |
ConfigHTTP | configHttp |
Additional Inherited Members | |
![]() | |
SocketContextFactory ()=default | |
~SocketContextFactory () override=default | |
![]() | |
SocketContextFactory ()=default | |
Definition at line 62 of file SocketContextFactory.h.
Definition at line 64 of file SocketContextFactory.h.
Definition at line 65 of file SocketContextFactory.h.
|
inline |
Definition at line 67 of file SocketContextFactory.h.
References web::http::client::ConfigHTTP::ConfigHTTP(), configHttp, onRequestBegin, and onRequestEnd.
|
overrideprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 50 of file SocketContextFactory.cpp.
References configHttp, web::http::client::ConfigHTTP::getPipelinedRequests(), onRequestBegin, onRequestEnd, and web::http::client::SocketContext::SocketContext().
|
inline |
Definition at line 75 of file SocketContextFactory.h.
References configHttp, and web::http::client::ConfigHTTP::setPipelinedRequests().
|
private |
Definition at line 85 of file SocketContextFactory.h.
Referenced by create(), setPipelinedRequests(), and SocketContextFactory().
|
private |
Definition at line 82 of file SocketContextFactory.h.
Referenced by create(), and SocketContextFactory().
|
private |
Definition at line 83 of file SocketContextFactory.h.
Referenced by create(), and SocketContextFactory().