Allow a method (or methods).
This tag is used to add a new method to the already existing set of allowed methods. If you want to ignore the existing set of allowed methods, use SIPTAG_ALLOW_STR() or SIPTAG_ALLOW().
The set of allowed methods is added to the header in the response or request messages. For incoming request, an error response 405 Method Not Allowed is automatically returned if the incoming method is not included in the set.
- Used with
any handle-specific nua call
- Parameter type
- char const *
- Valid method name, or comma-separated list of them.
Corresponding tag taking reference parameter is NUTAG_ALLOW_REF()
Definition at line 440 of file nua_tag.h.