Function registerFormMethod
Registers just a single method.
For details see registerFormInterface
. This method does exactly the same, but instead of registering found methods that match a scheme it just registers the method specified.
Prototype
void registerFormMethod(string method, I)(UrlRouter router, I instance, string url_prefix, MethodStyle style = MethodStyle.Unaltered)( UrlRouter router, I instance, string url_prefix, MethodStyle style );
See Also
Parameters
Name | Description |
---|---|
method | The name of the method to register. It might be overloaded, one overload has to match any given form data, otherwise an error is triggered. |
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.