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 > &)> &onRequestBegin, const std::function< void(const std::shared_ptr< Request > &)> &onRequestEnd, const std::function< net::config::ConfigInstance &()> &getConfigInstance) | |
void | setPipelinedRequests (bool pipelinedRequests) |
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 > &)> | onRequestBegin |
std::function< void(const std::shared_ptr< Request > &)> | onRequestEnd |
ConfigHTTP | configHttp |
Additional Inherited Members | |
Protected Types inherited from web::http::SocketContextFactory< web::http::client::SocketContext, RequestT, ResponseT > | |
using | Request |
using | Response |
using | SocketContext |
Protected Member Functions inherited from web::http::SocketContextFactory< web::http::client::SocketContext, RequestT, ResponseT > | |
SocketContextFactory ()=default | |
~SocketContextFactory () override=default | |
Protected Member Functions inherited from core::socket::stream::SocketContextFactory | |
SocketContextFactory ()=default | |
Definition at line 38 of file SocketContextFactory.h.
using web::http::client::SocketContextFactory< RequestT, ResponseT >::Request = RequestT |
Definition at line 40 of file SocketContextFactory.h.
using web::http::client::SocketContextFactory< RequestT, ResponseT >::Response = ResponseT |
Definition at line 41 of file SocketContextFactory.h.
|
inline |
Definition at line 43 of file SocketContextFactory.h.
References web::http::client::SocketContextFactory< RequestT, ResponseT >::SocketContextFactory().
Referenced by web::http::client::SocketContextFactory< RequestT, ResponseT >::SocketContextFactory().
|
inlineoverrideprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 56 of file SocketContextFactory.h.
|
inline |
Definition at line 51 of file SocketContextFactory.h.
References web::http::client::SocketContextFactory< RequestT, ResponseT >::configHttp.
|
private |
Definition at line 63 of file SocketContextFactory.h.
Referenced by web::http::client::SocketContextFactory< RequestT, ResponseT >::setPipelinedRequests().
|
private |
Definition at line 60 of file SocketContextFactory.h.
|
private |
Definition at line 61 of file SocketContextFactory.h.