URLRouter.match

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

  1. URLRouter match(HTTPMethod method, string path, Handler handler)
  2. URLRouter match(HTTPMethod method, string path, HTTPServerRequestDelegate handler)
    class URLRouter
    @safe
    match
    (
    HTTPMethod method
    ,
    string path
    ,
    HTTPServerRequestDelegate handler
    )

Meta