Show / Hide Table of Contents

Class SIPUriHeader

Class used to parse History-Info, Diversion, P-Asserted-Identity Headers.

Inheritance
System.Object
SIPUriHeader
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 SIPUriHeader

Constructors

| Improve this Doc View Source

SIPUriHeader()

Declaration
public SIPUriHeader()
| Improve this Doc View Source

SIPUriHeader(String, SIPURI, String)

Declaration
public SIPUriHeader(string Name, SIPURI URI, string uriParams = null)
Parameters
Type Name Description
System.String Name
SIPURI URI
System.String uriParams

Properties

| Improve this Doc View Source

Name

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

Parameters

Declaration
public SIPParameters Parameters { get; set; }
Property Value
Type Description
SIPParameters
| Improve this Doc View Source

URI

Declaration
public SIPURI URI { get; set; }
Property Value
Type Description
SIPURI
| Improve this Doc View Source

UserField

Declaration
public SIPUserField UserField { get; set; }
Property Value
Type Description
SIPUserField

Methods

| Improve this Doc View Source

FriendlyDescription()

Returns a friendly description of the caller that's suitable for humans. Leaves out all the parameters etc.

Declaration
public string FriendlyDescription()
Returns
Type Description
System.String

A string representing a friendly description of the MultiUri header.

| Improve this Doc View Source

GetDefaultHeader(SIPSchemesEnum)

Declaration
public static SIPUriHeader GetDefaultHeader(SIPSchemesEnum scheme)
Parameters
Type Name Description
SIPSchemesEnum scheme
Returns
Type Description
SIPUriHeader
| Improve this Doc View Source

ParseHeader(String)

Declaration
public static List<SIPUriHeader> ParseHeader(string headerStr)
Parameters
Type Name Description
System.String headerStr
Returns
Type Description
System.Collections.Generic.List<SIPUriHeader>
| Improve this Doc View Source

SortByUriParameter(ref List<SIPUriHeader>, String, Boolean)

Declaration
public static bool SortByUriParameter(ref List<SIPUriHeader> header, string paramterForSort, bool descending = false)
Parameters
Type Name Description
System.Collections.Generic.List<SIPUriHeader> header
System.String paramterForSort
System.Boolean descending
Returns
Type Description
System.Boolean
| 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