Function URLRouter.put
Adds a new route
for PUT requests matching the specified pattern.
Prototypes
URLRouter put(
string url_match,
HTTPServerRequestHandler cb
);
URLRouter put(
string url_match,
void function(HTTPServerRequest, HTTPServerResponse) cb
);
URLRouter put(
string url_match,
void delegate(HTTPServerRequest, HTTPServerResponse) cb
);
URLRouter put(
string url_match,
HTTPServerRequestHandlerS cb
);
URLRouter put(
string url_match,
void function(scope HTTPServerRequest, scope HTTPServerResponse) cb
);
URLRouter put(
string url_match,
void delegate(scope HTTPServerRequest, scope HTTPServerResponse) cb
);
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.