vibe.d beta banner
get vibe.d
0.8.1

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

Function HTTPRouter.post

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

final abstract 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
);
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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