vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Class HTTPProxySettings

Provides advanced configuration facilities for reverse proxy servers.

class HTTPProxySettings ;

Constructors

NameDescription
this () Empty default constructor for backwards compatibility - will be deprecated soon.
this (mode) Explicitly sets the proxy mode.

Fields

NameTypeDescription
avoidCompressedRequests boolAvoids compressed transfers between proxy and destination hosts
destination URLThe destination URL to forward requests to
handleConnectRequests boolHandle CONNECT requests for creating a tunnel to the destination host
proxyMode ProxyModeThe mode of the proxy i.e forward, reverse

Properties

NameTypeDescription
destinationHost[get, set] stringScheduled for deprecation - use destination.host instead.
destinationPort[get, set] ushortScheduled for deprecation - use destination.port instead.
Authors

Sönke Ludwig

Copyright

© 2012 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.