vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function URLRouter.get

Adds a new route for GET requests matching the specified pattern.

URLRouter get(Handler) (
  string url_match,
  Handler handler
)
if (isValidHandler!Handler);

URLRouter get (
  string url_match,
  @safe void delegate(HTTPServerRequest, HTTPServerResponse) handler
) @safe;
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.