This structure represents a SIP method. Application must always use either pjsip_method_init or pjsip_method_set to make sure that method name is initialized correctly. This way, the name member will always contain a valid method string regardless whether the ID is recognized or not.
Forward declaration for SIP method (sip_msg.h)