vibe.d beta banner
get vibe.d

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

listenHTTPReverseProxy - multiple declarations

Function listenHTTPReverseProxy

Transparently forwards all requests to the proxy to a destination_host.

void listenHTTPReverseProxy (
  HTTPServerSettings settings,
  string destination_host,
  ushort destination_port

You can use the hostName field in the 'settings' to combine multiple internal HTTP servers into one public web server with multiple virtual hosts.

Alias listenHTTPReverseProxy

alias listenHTTPReverseProxy ;

Sönke Ludwig


© 2012 RejectedSoftware e.K.


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