XmlRpcSession
public class XmlRpcSession : LinphoneObject
The XmlRpcSession object used to send XML-RPC requests and handle their
responses.
-
Creates a
XmlRpcRequestfrom aXmlRpcSession.Declaration
Swift
public func createRequest(returnType: XmlRpcArgType, method: String) throws -> XmlRpcRequestParameters
returnTypethe return type of the request as a LinphoneXmlRpcArgType
methodthe function name to call
Return Value
a
XmlRpcRequestobject -
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
requestThe
XmlRpcRequestto be sent.
XmlRpcSession Class Reference