Headers
public class Headers : LinphoneObject
Object representing a chain of protocol headers. It provides read/write access to the headers of the underlying protocol.
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> Headers
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Add given header name and corresponding value.
Declaration
Swift
public func add(name: String, value: String?)
Parameters
name
the header’s name
value
the header’s value
-
Search for a given header name and return its value.
Declaration
Swift
public func getValue(headerName: String) -> String
Return Value
the header’s value or nil if not found.
-
Add given header name and corresponding value.
Declaration
Swift
public func remove(name: String)
Parameters
name
the header’s name