Class MsrpStatusHeader
Class for the Status header of a MSRP message. See RFC 4975
Inherited Members
Namespace: SipLib.Msrp
Assembly: SipLib.dll
Syntax
public class MsrpStatusHeader
Constructors
| Edit this page View SourceMsrpStatusHeader()
Constructor
Declaration
public MsrpStatusHeader()
Fields
| Edit this page View SourceComment
Contains the comment field of the Status header. The comment field is optional. A value of null indicates that the comment field is not present.
Declaration
public string? Comment
Field Value
| Type | Description |
|---|---|
| string |
Namespace
Contains the namespace field of the Status header. This should always be "000".
Declaration
public string Namespace
Field Value
| Type | Description |
|---|---|
| string |
StatusCode
Contains the status-code field of the Status header. A value of 0 indicates an invalid status.
Declaration
public int StatusCode
Field Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceParseStatusHeader(string)
Parses a Status header value into a new MsrpStatusHeader object
Declaration
public static MsrpStatusHeader? ParseStatusHeader(string strValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | strValue | Input Status header value |
Returns
| Type | Description |
|---|---|
| MsrpStatusHeader | Returns a new MsrpStatusHeader object if successful or null if an error is detected |
ToString()
Converts this object into a Status header value string
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | Returns the string value of a Status header |