vibe.d beta banner
get vibe.d
0.10.1

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

reverseProxyRequest - multiple declarations

Function reverseProxyRequest

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

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

@safe void delegate(scope HTTPServerRequest, HTTPServerResponse) reverseProxyRequest (
  URL destination
);

Alias reverseProxyRequest

Compatibility alias - will be deprecated soon

alias reverseProxyRequest ;
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.