struct Poco::Net::HTTPClientSession::ProxyConfig

Overview

HTTP proxy server configuration. More…

#include <HTTPClientSession.h>

struct ProxyConfig
{
    // fields

    std::string host;
    Poco::UInt16 port;
    std::string username;
    std::string password;
    std::string nonProxyHosts;
};

Detailed Documentation

HTTP proxy server configuration.

Fields

std::string host

Proxy server host name or IP address.

Poco::UInt16 port

Proxy server TCP port.

std::string username

Proxy server username.

std::string password

Proxy server password.

std::string nonProxyHosts

A regular expression defining hosts for which the proxy should be bypassed, e.g.

“localhost|127.0.0.1|192.168.0.d+”. Can also be an empty string to disable proxy bypassing.