ProxyOptions

Proxy options for a net client or a net client.

@author <a href="http://oss.lehmann.cx/">Alexander Lehmann</a>

Constructors

this
this()

Default constructor.

this
this(ProxyOptions other)

Copy constructor.

Members

Functions

getHost
string getHost()

Get proxy host.

getPassword
string getPassword()

Get proxy password.

getPort
int getPort()

Get proxy port.

getType
ProxyType getType()

Get proxy type.

getUsername
string getUsername()

Get proxy username.

opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
setHost
ProxyOptions setHost(string host)

Set proxy host.

setPassword
ProxyOptions setPassword(string password)

Set proxy password.

setPort
ProxyOptions setPort(int port)

Set proxy port.

setType
ProxyOptions setType(ProxyType type)

Set proxy type.

setUsername
ProxyOptions setUsername(string username)

Set proxy username.

toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

DEFAULT_HOST
enum string DEFAULT_HOST;

The default hostname for proxy connect = "localhost"

DEFAULT_PORT
enum int DEFAULT_PORT;

The default port for proxy connect = 3128

DEFAULT_TYPE
enum ProxyType DEFAULT_TYPE;

The default proxy type (HTTP)

Meta