XmlRpcRequest
public class XmlRpcRequest : LinphoneObject
The XmlRpcRequest object representing a XML-RPC request to be sent.
-
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> XmlRpcRequest -
Declaration
Swift
public var getCobject: OpaquePointer? { get } -
Declaration
Swift
public func addDelegate(delegate: XmlRpcRequestDelegate) -
Declaration
Swift
public func removeDelegate(delegate: XmlRpcRequestDelegate) -
Get the content of the XML-RPC request.
Declaration
Swift
public var content: String { get }Return Value
The string representation of the content of the XML-RPC request.
-
Get the current LinphoneXmlRpcRequestCbs object associated with a LinphoneXmlRpcRequest.
Declaration
Swift
public var currentDelegate: XmlRpcRequestDelegate? { get }Return Value
The current LinphoneXmlRpcRequestCbs object associated with the LinphoneXmlRpcRequest.
-
Get the response to an XML-RPC request sent with XmlRpcSession.sendRequest() and returning an integer response.
Declaration
Swift
public var intResponse: Int { get }Return Value
The integer response to the XML-RPC request.
-
Get the response to an XML-RPC request sent with XmlRpcSession.sendRequest() and returning a string response.
Declaration
Swift
public var listResponse: [String] { get }Return Value
A list of all string responses in the XML-RPC request.
-
Get the raw response to an XML-RPC request sent with XmlRpcSession.sendRequest() and returning http body as string.
Declaration
Swift
public var rawResponse: String { get }Return Value
The string response to the XML-RPC request.
-
Get the status of the XML-RPC request.
Declaration
Swift
public var status: XmlRpcStatus { get }Return Value
The
XmlRpcStatusof the XML-RPC request. -
Get the response to an XML-RPC request sent with XmlRpcSession.sendRequest() and returning a string response.
Declaration
Swift
public var stringResponse: String { get }Return Value
The string response to the XML-RPC request.
-
Assign a user pointer to the XML-RPC request.
Retrieve the user pointer associated with the XML-RPC request.
Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }Return Value
The user pointer associated with the XML-RPC request.
-
Add an integer argument to an XML-RPC request.
Declaration
Swift
public func addIntArg(value: Int)Parameters
valueThe integer value of the added argument.
-
Add a string argument to an XML-RPC request.
Declaration
Swift
public func addStringArg(value: String)Parameters
valueThe string value of the added argument.
XmlRpcRequest Class Reference