|
SNode.C
|
#include <ConfigHTTP.h>
Public Member Functions | |
| ConfigHTTP (net::config::ConfigInstance &configInstance) | |
| ConfigHTTP (ConfigHTTP &)=delete | |
| ConfigHTTP & | operator= (ConfigHTTP &)=delete |
| ConfigHTTP (ConfigHTTP &&) noexcept=default | |
| ConfigHTTP & | operator= (ConfigHTTP &&)=delete |
| void | setHostHeader (const std::string &hostHeader) |
| std::string | getHostHeader () const |
| void | setPipelinedRequests (bool pipelinedRequests) |
| bool | getPipelinedRequests () const |
Private Attributes | |
| CLI::Option * | hostHeaderOpt = nullptr |
| CLI::Option * | pipelinedRequestsOpt = nullptr |
Definition at line 61 of file ConfigHTTP.h.
|
explicit |
Definition at line 55 of file ConfigHTTP.cpp.
References net::config::ConfigSection::addFlag(), net::config::ConfigSection::addOption(), net::config::ConfigSection::ConfigSection(), hostHeaderOpt, and pipelinedRequestsOpt.
Referenced by web::http::client::SocketContextFactory::SocketContextFactory().
|
delete |
|
defaultnoexcept |
| std::string web::http::client::ConfigHTTP::getHostHeader | ( | ) | const |
Definition at line 75 of file ConfigHTTP.cpp.
References hostHeaderOpt.
Referenced by web::http::client::SocketContextFactory::create(), and web::http::client::SocketContextFactory::getHostHeader().
| bool web::http::client::ConfigHTTP::getPipelinedRequests | ( | ) | const |
Definition at line 83 of file ConfigHTTP.cpp.
References pipelinedRequestsOpt.
Referenced by web::http::client::SocketContextFactory::create().
|
delete |
|
delete |
| void web::http::client::ConfigHTTP::setHostHeader | ( | const std::string & | hostHeader | ) |
Definition at line 71 of file ConfigHTTP.cpp.
References hostHeaderOpt.
Referenced by web::http::client::SocketContextFactory::setHostHeader().
| void web::http::client::ConfigHTTP::setPipelinedRequests | ( | bool | pipelinedRequests | ) |
Definition at line 79 of file ConfigHTTP.cpp.
References pipelinedRequestsOpt.
Referenced by web::http::client::SocketContextFactory::setPipelinedRequests().
|
private |
Definition at line 77 of file ConfigHTTP.h.
Referenced by ConfigHTTP(), getHostHeader(), and setHostHeader().
|
private |
Definition at line 78 of file ConfigHTTP.h.
Referenced by ConfigHTTP(), getPipelinedRequests(), and setPipelinedRequests().