Method HTTPRouter.any

Adds a new route for requests matching the specified pattern, regardless of their HTTP verb.

Prototypes

HTTPRouter any(
  string url_match,
  HTTPServerRequestHandler cb
) final abstract;

HTTPRouter any(
  string url_match,
  void function(HTTPServerRequest, HTTPServerResponse) cb
) final abstract;

HTTPRouter any(
  string url_match,
  void delegate(HTTPServerRequest, HTTPServerResponse) cb
) final abstract;

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.