Home --> Documentations --> PJSIP Reference

pjsip_method Struct Reference

#include <sip_msg.h>

Data Fields

pjsip_method_e id
pj_str_t name

Detailed Description

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)

Field Documentation

◆ id

pjsip_method_e pjsip_method::id

Method ID, from pjsip_method_e.

◆ name

pj_str_t pjsip_method::name

Method name, which will always contain the method string.

The documentation for this struct was generated from the following file:


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.