vibe.d beta banner
get vibe.d
0.7.30

Function URLRouter.match

Adds a new route for requests matching the specified HTTP method and pattern.

Prototypes

URLRouter match(
  HTTPMethod method,
  string path,
  void delegate(HTTPServerRequest, HTTPServerResponse) cb
);

URLRouter match(
  HTTPMethod method,
  string path,
  HTTPServerRequestHandler cb
);

URLRouter match(
  HTTPMethod method,
  string path,
  void function(HTTPServerRequest, HTTPServerResponse) cb
);

URLRouter match(
  HTTPMethod method,
  string path,
  void delegate(scope HTTPServerRequest, scope HTTPServerResponse) cb
);

URLRouter match(
  HTTPMethod method,
  string path,
  HTTPServerRequestHandlerS cb
);

URLRouter match(
  HTTPMethod method,
  string path,
  void function(scope HTTPServerRequest, scope HTTPServerResponse) cb
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License