프로퍼티 | 타입 | 설명 | |
---|---|---|---|
StatusCodeType | StatusCodes | ||
had_lr | bool |
메소드 | 설명 | |
---|---|---|
CreateRequest ( string method, |
Creates a SIP request message based on the passed in parameters.
|
|
CreateResponse ( int responseCode, string responseText, Dictionary |
Creates a SIP response based on the passed in parameters.
|
|
Dup ( ) : |
Creates a clone of this Header object.
|
|
First ( string name ) : SIPLib.SIP.Header |
Helper function to return the first instance of a particular header.
|
|
InsertHeader ( SIPLib.SIP.Header header, string method = "replace" ) : void |
Inserts a header into the SIP message by either replacing the existing header, appending it at the end of its own header list, or inserting at the front of its own header list depending on the method specified.
|
|
Is1XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is2XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is3XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is4XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is5XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is6XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
Is7XX ( ) : bool |
Helper function to indicate type of SIP response message (Informational, Successful, ClientFailure etc.)
|
|
IsFinal ( ) : bool |
Determines whether this instance is final (response code >= 200).
|
|
Message ( ) : System |
Initializes a new, empty instance of the T:SIPLib.SIP.Message class.
|
|
Message ( string value ) : System |
Initializes a new instance of the T:SIPLib.SIP.Message class based on a input string.
|
|
Parse ( string value ) : void |
Parses the input string into a SIP message object.
|
|
PopulateMessage ( |
Populates the message - inserts the input list of headers into the message
|
|
ToString ( ) : string |
Returns a System.String that represents this instance. For easy printing / reading.
|
메소드 | 설명 | |
---|---|---|
HandleVia ( List |
Creates the multi line representation of the via header list.
|
|
Init ( ) : void |
Initilises the Message private variables.
|
public static CreateRequest ( string method, |
||
method | string | The SIP method to use. |
uri | The destination URI used in the first line. | |
headers | Dictionary |
The SIP headers. |
content | string | The SIP body content. |
리턴 |
public static CreateResponse ( int responseCode, string responseText, Dictionary |
||
responseCode | int | The response code (200 etc.) |
responseText | string | The response text (OK etc.) |
headers | Dictionary |
The SIP headers. |
content | string | The SIP body content. |
originalRequest | The original request. | |
리턴 |
public First ( string name ) : SIPLib.SIP.Header | ||
name | string | The name. |
리턴 | SIPLib.SIP.Header |
public InsertHeader ( SIPLib.SIP.Header header, string method = "replace" ) : void | ||
header | SIPLib.SIP.Header | The header to insert. |
method | string | The method - "replace", "append" or "insert". "replace" is the default. |
리턴 | void |
public Message ( string value ) : System | ||
value | string | The SIP message as a string. |
리턴 | System |
public static PopulateMessage ( |
||
m | The message being populated. | |
headers | Dictionary |
The headers to insert. |
content | string | The SIP body content. |
리턴 |