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, Flag!("strict") strict = Yes.strict)(
  URLRouter router,
  I instance,
  string url_prefix,
  MethodStyle style,
  Flag!("strict") strict
);

See Also

registerFormInterface

Parameters

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.