C# 클래스 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".

상속: IHeader, ICloneable
파일 보기 프로젝트 열기: jgauffin/SipSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ViaEntry System

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ViaEntry ( ViaEntry entry ) : System

메소드 상세

Clone() 공개 메소드

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

Equals() 공개 메소드

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. ///
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ViaEntry() 공개 메소드

Initializes a new instance of the ViaEntry class.
public ViaEntry ( ) : System
리턴 System

ViaEntry() 공개 메소드

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
리턴 System