vibe.d beta banner
get vibe.d
0.7.30

Function reverseProxyRequest

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

Prototypes

void delegate(scope HTTPServerRequest, scope HTTPServerResponse) reverseProxyRequest(
  HTTPReverseProxySettings settings
);

void delegate(scope HTTPServerRequest, scope HTTPServerResponse) reverseProxyRequest(
  string destination_host,
  ushort destination_port
);
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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