C# Class SipSharp.Headers.ViaEntry

The Via header field indicates the path taken by the request so far and indicates the path that should be followed in routing responses.

The branch ID parameter in the Via header field values serves as a transaction identifier, and is used by proxies to detect loops.

A Via header field value contains the transport protocol used to send the message, the client's host name or network address, and possibly the port number at which it wishes to receive responses. A Via header field value can also contain parameters such as "maddr", "ttl", "received", and "branch", whose meaning and use are described in other sections. For implementations compliant to this specification, the value of the branch parameter MUST start with the magic cookie "z9hG4bK", as discussed in Section 8.1.1.7.

The compact form of the via header is "v".

Inheritance: IHeader, ICloneable
Afficher le fichier Open project: jgauffin/SipSharp Class Usage Examples

Private Properties

Свойство Type Description
ViaEntry System

Méthodes publiques

Méthode Description
Clone ( ) : object

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

Equals ( IHeader other ) : bool

Indicates whether the current object is equal to another object of the same type.

ToString ( ) : string
ViaEntry ( ) : System

Initializes a new instance of the ViaEntry class.

ViaEntry ( string domain, string branch ) : System

Initializes a new instance of the ViaEntry class.

Private Methods

Méthode Description
ViaEntry ( ViaEntry entry ) : System

Method Details

Clone() public méthode

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

Equals() public méthode

Indicates whether the current object is equal to another object of the same type.
public Equals ( IHeader other ) : bool
other IHeader An object to compare with this object. ///
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

ViaEntry() public méthode

Initializes a new instance of the ViaEntry class.
public ViaEntry ( ) : System
Résultat System

ViaEntry() public méthode

Initializes a new instance of the ViaEntry class.
public ViaEntry ( string domain, string branch ) : System
domain string MUST include sip: or any other protocol
branch string
Résultat System