URLRouter.match - multiple declarations

Function URLRouter.match

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

Prototype

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

Alias URLRouter.match

Declaration

class URLRouter
{
	// ...
	alias match;
	// ...
}

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.