Function staticRedirect

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

Prototype

void delegate(HttpServerRequest req, HttpServerResponse res) staticRedirect(
  string url
);

Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012 RejectedSoftware e.K.

License

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