C# Class SipSharp.Messages.Request

Inheritance: Message, IRequest
Mostra file Open project: jgauffin/SipSharp Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

CreateResponse ( StatusCode code, string reason ) : IResponse

Create a new response.

Request ( IRequest request ) : System
Request ( string method, SipUri uri, string version ) : System
Request ( string method, string uri, string version ) : System
ToString ( ) : string
Validate ( ) : void

Validate all mandatory headers.

Private Methods

Method Description
Assign ( string name, IHeader header ) : void

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

CreateResponse() public method

Create a new response.
Provisional responses is only valid for INVITE method.
public CreateResponse ( StatusCode code, string reason ) : IResponse
code StatusCode Response status code
reason string Reason to why the status code was used.
return IResponse

Request() public method

public Request ( IRequest request ) : System
request IRequest
return System

Request() public method

public Request ( string method, SipUri uri, string version ) : System
method string
uri SipUri
version string
return System

Request() public method

public Request ( string method, string uri, string version ) : System
method string
uri string
version string
return System

ToString() public method

public ToString ( ) : string
return string

Validate() public method

Validate all mandatory headers.
A header is invalid/missing.
public Validate ( ) : void
return void