20 HttpHost(
const std::string &hName = std::string(),
22 const std::string &pHost = std::string(),
25 hostname(hName), proxyHost(pHost),
26 port(sPort), proxyPort(pPort), cmgr(cMgr) {
28 is_tls = (sPort == 443);
31 HttpHost(
const char *hName, uint16_t sPort = 80) :
32 hostname(hName), port(sPort) {
34 is_tls = (sPort == 443);
39 std::string proxyHost;
Definition: cookiemanager.h:14
The host name and port number of a HTTP host.
Definition: httphost.h:17
HttpHost(const std::string &hName=std::string(), uint16_t sPort=80, const std::string &pHost=std::string(), uint16_t pPort=0, CookieManager *cMgr=nullptr)
You create and own the cookie manager.
Definition: httphost.h:20