HTTPProxySettings

Provides advanced configuration facilities for reverse proxy servers.

Constructors

this
deprecated this()

Empty default constructor for backwards compatibility - will be deprecated soon.

this
this(ProxyMode mode)

Explicitly sets the proxy mode.

Members

Properties

destinationHost
string destinationHost [@property getter]
string destinationHost [@property setter]

Scheduled for deprecation - use destination.host instead.

destinationPort
ushort destinationPort [@property getter]
ushort destinationPort [@property setter]

Scheduled for deprecation - use destination.port instead.

Variables

avoidCompressedRequests
bool avoidCompressedRequests;

Avoids compressed transfers between proxy and destination hosts

destination
URL destination;

The destination URL to forward requests to

handleConnectRequests
bool handleConnectRequests;

Handle CONNECT requests for creating a tunnel to the destination host

proxyMode
ProxyMode proxyMode;

The mode of the proxy i.e forward, reverse

Meta