Method UrlRouter.match

Overload group

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

Prototype

UrlRouter match(
  HttpMethod method,
  string path,
  HttpServerRequestDelegate cb
);

Overload group

Prototype

HttpRouter match(
  HttpMethod method,
  string path,
  HttpServerRequestDelegate cb
);

Overload group

Prototype

HttpRouter match(
  HttpMethod ,
  string ,
  HttpServerRequestHandler 
);

Overload group

Prototype

HttpRouter match(
  HttpMethod method,
  string path,
  HttpServerRequestFunction cb
);

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.