vibe.d beta banner
get vibe.d

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

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.


Sönke Ludwig


© 2012 Sönke Ludwig


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