#include <sippdu.h>
Public Member Functions | |
| SIPMIMEInfo (BOOL compactForm=FALSE) | |
| void | SetForm (BOOL v) |
| PString | GetContentType () const |
| void | SetContentType (const PString &v) |
| PString | GetContentEncoding () const |
| void | SetContentEncoding (const PString &v) |
| PString | GetFrom () const |
| void | SetFrom (const PString &v) |
| PString | GetAccept () const |
| void | SetAccept (const PString &v) |
| PString | GetAcceptEncoding () const |
| void | SetAcceptEncoding (const PString &v) |
| PString | GetAcceptLanguage () const |
| void | SetAcceptLanguage (const PString &v) |
| PString | GetAllow () const |
| void | SetAllow (const PString &v) |
| PString | GetCallID () const |
| void | SetCallID (const PString &v) |
| PString | GetContact () const |
| void | SetContact (const PString &v) |
| void | SetContact (const SIPURL &url) |
| PString | GetSubject () const |
| void | SetSubject (const PString &v) |
| PString | GetTo () const |
| void | SetTo (const PString &v) |
| PString | GetVia () const |
| void | SetVia (const PString &v) |
| PStringList | GetViaList () const |
| void | SetViaList (const PStringList &v) |
| PString | GetReferTo () const |
| void | SetReferTo (const PString &r) |
| PINDEX | GetContentLength () const |
| void | SetContentLength (PINDEX v) |
| PString | GetCSeq () const |
| void | SetCSeq (const PString &v) |
| PString | GetDate () const |
| void | SetDate (const PString &v) |
| void | SetDate (const PTime &t) |
| void | SetDate (void) |
| unsigned | GetExpires (unsigned dflt=UINT_MAX) const |
| void | SetExpires (unsigned v) |
| PINDEX | GetMaxForwards () const |
| void | SetMaxForwards (PINDEX v) |
| PINDEX | GetMinExpires () const |
| void | SetMinExpires (PINDEX v) |
| PString | GetProxyAuthenticate () const |
| void | SetProxyAuthenticate (const PString &v) |
| PStringList | GetRoute () const |
| void | SetRoute (const PStringList &v) |
| PStringList | GetRecordRoute () const |
| void | SetRecordRoute (const PStringList &v) |
| unsigned | GetCSeqIndex () const |
| PString | GetSupported () const |
| void | SetSupported (const PString &v) |
| PString | GetUnsupported () const |
| void | SetUnsupported (const PString &v) |
| PString | GetEvent () const |
| void | SetEvent (const PString &v) |
| PString | GetSubscriptionState () const |
| void | SetSubscriptionState (const PString &v) |
| PString | GetUserAgent () const |
| void | SetUserAgent (const SIPEndPoint &sipep) |
| PString | GetWWWAuthenticate () const |
| void | SetWWWAuthenticate (const PString &v) |
| PString | GetFieldParameter (const PString &, const PString &) |
| void | SetFieldParameter (const PString &, PString &, const PString &) |
| BOOL | HasFieldParameter (const PString &, const PString &) |
Protected Member Functions | |
| PStringList | GetRouteList (const char *name) const |
| void | SetRouteList (const char *name, const PStringList &v) |
| PString | GetFullOrCompact (const char *fullForm, char compactForm) const |
Protected Attributes | |
| BOOL | compactForm |
| Encode using compact form. | |
to do to satisfy RFC3261 (mandatory(*) & should): Accept Accept-Encoding Accept-Language Allow Max-Forwards Min-Expires Proxy-Authenticate Supported Unsupported WWW-Authenticate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
return the value of a header field parameter, empty if none |
|
|
|
|
||||||||||||
|
return string keyed by full or compact header |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return list of route values from internal comma-delimited list |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
return TRUE if the header field parameter is present |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
set the value for a header field parameter, replace the current value, or add the parameter and its value if not already present. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
store string list as one comma-delimited string of route values value formed as "<v[0]>,<v[1]>,<v[2]>" etc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Encode using compact form.
|
1.4.2