vibe.d beta banner
get vibe.d
0.10.1

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

Module vibe.http.proxy

HTTP (reverse) proxy implementation

Functions

NameDescription
forwardProxyRequest() Returns a HTTP request handler that forwards any request to the requested host/port.
listenHTTPForwardProxy(settings) Transparently forwards all requests to the proxy to the requestURL of the request.
listenHTTPProxy(settings, proxy_settings) Transparently forwards all requests to the proxy to another host.
listenHTTPReverseProxy(settings, destination_host, destination_port) Transparently forwards all requests to the proxy to a destination_host.
proxyRequest(settings) Returns a HTTP request handler that forwards any request to the specified or requested host/port.
reverseProxyRequest(destination_host, destination_port) Returns a HTTP request handler that forwards any request to the specified host/port.

Classes

NameDescription
HTTPProxySettings Provides advanced configuration facilities for reverse proxy servers.

Enums

NameDescription
ProxyMode Enum to represent the two modes a proxy can operate as.

Aliases

NameTypeDescription
HTTPReverseProxySettings HTTPProxySettings Compatibility alias
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.