XmlRpcSession
public class XmlRpcSession : LinphoneObject
The XmlRpcSession
object used to send XML-RPC requests and handle their
responses.
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> XmlRpcSession
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Retrieve the user pointer associated with the XML-RPC session.
Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }
Return Value
The user pointer associated with the XML-RPC session.
-
Creates a
XmlRpcRequest
from aXmlRpcSession
.Declaration
Swift
public func createRequest(returnType: XmlRpcArgType, method: String) throws -> XmlRpcRequest
Parameters
returnType
the return type of the request as a
XmlRpcArgType
method
the function name to call
Return Value
a
XmlRpcRequest
object -
Stop and unref an XML rpc session. Pending requests will be aborted.
Declaration
Swift
public func release()
-
Send an XML-RPC request.
Declaration
Swift
public func sendRequest(request: XmlRpcRequest)
Parameters
request
The
XmlRpcRequest
to be sent.