Class SIPRoute
The SIPRoute class is used to represent both Route and Record-Route headers.
Inheritance
System.Object
    SIPRoute
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class SIPRoute
  Remarks
The Route and Record-Route headers only have parameters, no headers. Parameters of from ...;name=value;name2=value2 There are no specific parameters.
Constructors
| Improve this Doc View SourceSIPRoute(SIPURI)
Declaration
public SIPRoute(SIPURI uri)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SIPURI | uri | 
SIPRoute(SIPURI, Boolean)
Declaration
public SIPRoute(SIPURI uri, bool looseRouter)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SIPURI | uri | |
| System.Boolean | looseRouter | 
SIPRoute(String)
Declaration
public SIPRoute(string host)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | host | 
SIPRoute(String, Boolean)
Declaration
public SIPRoute(string host, bool looseRouter)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | host | |
| System.Boolean | looseRouter | 
Properties
| Improve this Doc View SourceHost
Declaration
public string Host { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
IsStrictRouter
Declaration
public bool IsStrictRouter { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
URI
Declaration
public SIPURI URI { get; }
  Property Value
| Type | Description | 
|---|---|
| SIPURI | 
Methods
| Improve this Doc View SourceParseSIPRoute(String)
Declaration
public static SIPRoute ParseSIPRoute(string route)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | route | 
Returns
| Type | Description | 
|---|---|
| SIPRoute | 
ToSIPEndPoint()
Declaration
public SIPEndPoint ToSIPEndPoint()
  Returns
| Type | Description | 
|---|---|
| SIPEndPoint | 
ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()