Class used to parse History-Info, Diversion, P-Asserted-Identity Headers.
Inheritance
System.Object
SIPUriHeader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: SIPSorcery.dll
public class SIPUriHeader
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public SIPUriHeader(string Name, SIPURI URI, string uriParams = null)
Parameters
Type |
Name |
Description |
System.String |
Name |
|
SIPURI |
URI |
|
System.String |
uriParams |
|
Properties
|
Improve this Doc
View Source
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public SIPParameters Parameters { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public SIPURI URI { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public SIPUserField UserField { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Returns a friendly description of the caller that's suitable for humans. Leaves out
all the parameters etc.
Declaration
public string FriendlyDescription()
Returns
Type |
Description |
System.String |
A string representing a friendly description of the MultiUri header.
|
|
Improve this Doc
View Source
Declaration
public static SIPUriHeader GetDefaultHeader(SIPSchemesEnum scheme)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static List<SIPUriHeader> ParseHeader(string headerStr)
Parameters
Type |
Name |
Description |
System.String |
headerStr |
|
Returns
Type |
Description |
System.Collections.Generic.List<SIPUriHeader> |
|
|
Improve this Doc
View Source
Declaration
public static bool SortByUriParameter(ref List<SIPUriHeader> header, string paramterForSort, bool descending = false)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<SIPUriHeader> |
header |
|
System.String |
paramterForSort |
|
System.Boolean |
descending |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods