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. See_Also: registerFormInterface

Prototypes

void registerFormMethod((string method,I))(
  UrlRouter router,
  I instance,
  string url_prefix,
  MethodStyle style
);

Parameters

Parameter nameDescription
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.