Function URLRouter.match
Adds a new route for requests matching the specified HTTP method and pattern.
URLRouter match(Handler)
(
HTTPMethod method,
string path,
Handler handler
)
if (isValidHandler!Handler);
URLRouter match
(
HTTPMethod method,
string path,
@safe void delegate(HTTPServerRequest, HTTPServerResponse) handler
) @safe;