Function staticRedirect

Provides a HTTP request handler that responds with a static redirection to the specified URL.

Prototypes

void delegate(HTTPServerRequest, HTTPServerResponse) staticRedirect(
  string url
);

void delegate(HTTPServerRequest, HTTPServerResponse) staticRedirect(
  URL url
);

Authors

Sönke Ludwig, Jan Krüger, Ilya Shipunov

Copyright

© 2012-2013 RejectedSoftware e.K.

License

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