Method HTTPRouter.post

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

Prototypes

HTTPRouter post(
  string url_match,
  HTTPServerRequestHandler cb
) final abstract;

HTTPRouter post(
  string url_match,
  void function(HTTPServerRequest, HTTPServerResponse) cb
) final abstract;

HTTPRouter post(
  string url_match,
  void delegate(HTTPServerRequest, HTTPServerResponse) 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.