vibe.http.proxy

HTTP (reverse) proxy implementation

Members

Aliases

HTTPReverseProxySettings
alias HTTPReverseProxySettings = HTTPProxySettings

Compatibility alias - will be deprecated soon.

listenHTTPReverseProxy
alias listenHTTPReverseProxy = listenHTTPProxy
Undocumented in source.
reverseProxyRequest
alias reverseProxyRequest = proxyRequest

Compatibility alias - will be deprecated soon

Classes

HTTPProxySettings
class HTTPProxySettings

Provides advanced configuration facilities for reverse proxy servers.

Enums

ProxyMode
enum ProxyMode

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

Functions

forwardProxyRequest
HTTPServerRequestDelegateS forwardProxyRequest()

Returns a HTTP request handler that forwards any request to the requested host/port.

listenHTTPForwardProxy
void listenHTTPForwardProxy(HTTPServerSettings settings)

Transparently forwards all requests to the proxy to the requestURL of the request.

listenHTTPProxy
void listenHTTPProxy(HTTPServerSettings settings, HTTPProxySettings proxy_settings)

Transparently forwards all requests to the proxy to another host.

listenHTTPReverseProxy
void listenHTTPReverseProxy(HTTPServerSettings settings, string destination_host, ushort destination_port)

Transparently forwards all requests to the proxy to a destination_host.

proxyRequest
HTTPServerRequestDelegateS proxyRequest(HTTPProxySettings settings)

Returns a HTTP request handler that forwards any request to the specified or requested host/port.

reverseProxyRequest
HTTPServerRequestDelegateS reverseProxyRequest(string destination_host, ushort destination_port)
HTTPServerRequestDelegateS reverseProxyRequest(URL destination)

Returns a HTTP request handler that forwards any request to the specified host/port.

Meta

License

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

Authors

Sönke Ludwig