vibe.http.proxy

HTTP (reverse) proxy implementation

Members

Classes

HTTPReverseProxySettings
class HTTPReverseProxySettings

Provides advanced configuration facilities for reverse proxy servers.

Functions

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

Transparently forwards all requests to the proxy to a destination_host.

reverseProxyRequest
HTTPServerRequestDelegateS reverseProxyRequest(string destination_host, ushort destination_port)

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

reverseProxyRequest
HTTPServerRequestDelegateS reverseProxyRequest(HTTPReverseProxySettings settings)
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