Method UrlRouter.post

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

Prototypes

UrlRouter post(
  string url_match,
  IHttpServerRequestHandler cb
);

UrlRouter post(
  string url_match,
  void function(HttpServerRequest req, HttpServerResponse res) cb
);

UrlRouter post(
  string url_match,
  void delegate(HttpServerRequest req, HttpServerResponse res) 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.