vibe.d beta banner
get vibe.d
0.7.30

Function URLRouter.any

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

Prototypes

URLRouter any(
  string url_match,
  HTTPServerRequestHandler cb
);

URLRouter any(
  string url_match,
  void function(HTTPServerRequest, HTTPServerResponse) cb
);

URLRouter any(
  string url_match,
  void delegate(HTTPServerRequest, HTTPServerResponse) cb
);

URLRouter any(
  string url_match,
  HTTPServerRequestHandlerS cb
);

URLRouter any(
  string url_match,
  void function(scope HTTPServerRequest, scope HTTPServerResponse) cb
);

URLRouter any(
  string url_match,
  void delegate(scope HTTPServerRequest, scope HTTPServerResponse) cb
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License