Class Headers
Object representing a chain of protocol headers.
It provides read/write access to the headers of the underlying protocol.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class Headers : LinphoneObject
Methods
Add(String, String)
Add given header name and corresponding value.
Declaration
public void Add(string name, string val)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the header's name |
System.String | val | the header's value |
GetValue(String)
Search for a given header name and return its value.
Declaration
public string GetValue(string headerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | headerName |
Returns
Type | Description |
---|---|
System.String | the header's value or null if not found. |
Remove(String)
Add given header name and corresponding value.
Declaration
public void Remove(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the header's name |