Method HTTPRouter.match

Adds a new route for request that match the path and method

Prototypes

HTTPRouter match(
  HTTPMethod method,
  string path,
  HTTPServerRequestDelegate cb
) abstract;

HTTPRouter match(
  HTTPMethod method,
  string path,
  HTTPServerRequestHandler cb
) final abstract;

HTTPRouter match(
  HTTPMethod method,
  string path,
  HTTPServerRequestFunction cb
) final abstract;

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.