Class MsrpPathHeader
Class for a MSRP To-Path or a From-Path header value. See RFC 4975. Both the To-Path and the From-Path MSRP message headers can contain multiple MSRP URIs.
Inherited Members
Namespace: SipLib.Msrp
Assembly: SipLib.dll
Syntax
public class MsrpPathHeader
Constructors
| Edit this page View SourceMsrpPathHeader()
Constructor
Declaration
public MsrpPathHeader()
Fields
| Edit this page View SourceMsrpUris
Contains a list of MsrpUris. Initialized to an empty list.
Declaration
public List<MsrpUri> MsrpUris
Field Value
Type | Description |
---|---|
List<MsrpUri> |
Methods
| Edit this page View SourceParseMsrpPathHeader(string)
Parses a To-Path or a From-Path MSRP header value into a new MsrpPathHeader object.
Declaration
public static MsrpPathHeader? ParseMsrpPathHeader(string HeaderValue)
Parameters
Type | Name | Description |
---|---|---|
string | HeaderValue | Input header string value |
Returns
Type | Description |
---|---|
MsrpPathHeader | Returns a new MsrpPathHeader if successful or null if an error is detected |
ToString()
Converts this MsrpPathHeader object into a header string value
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Returns the string value of the header |