XmlRpcRequest
public class XmlRpcRequest : LinphoneObject
The XmlRpcRequest object representing a XML-RPC request to be sent.
-
Undocumented
Declaration
Swift
public func getDelegate() -> XmlRpcRequestDelegate? -
Undocumented
Declaration
Swift
public func addDelegate(delegate: XmlRpcRequestDelegate) -
Undocumented
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 currentCallbacks: 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 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 status of 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.
-
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