Show / Hide Table of Contents

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 Source

SIPRoute(SIPURI)

Declaration
public SIPRoute(SIPURI uri)
Parameters
Type Name Description
SIPURI uri
| Improve this Doc View Source

SIPRoute(SIPURI, Boolean)

Declaration
public SIPRoute(SIPURI uri, bool looseRouter)
Parameters
Type Name Description
SIPURI uri
System.Boolean looseRouter
| Improve this Doc View Source

SIPRoute(String)

Declaration
public SIPRoute(string host)
Parameters
Type Name Description
System.String host
| Improve this Doc View Source

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 Source

Host

Declaration
public string Host { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsStrictRouter

Declaration
public bool IsStrictRouter { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

URI

Declaration
public SIPURI URI { get; }
Property Value
Type Description
SIPURI

Methods

| Improve this Doc View Source

ParseSIPRoute(String)

Declaration
public static SIPRoute ParseSIPRoute(string route)
Parameters
Type Name Description
System.String route
Returns
Type Description
SIPRoute
| Improve this Doc View Source

ToSIPEndPoint()

Declaration
public SIPEndPoint ToSIPEndPoint()
Returns
Type Description
SIPEndPoint
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX