XmlRpcRequest

public class XmlRpcRequest : LinphoneObject

The XmlRpcRequest object representing a XML-RPC request to be sent.

  • Undocumented

    Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> XmlRpcRequest
  • Undocumented

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • The XmlRpcRequest object representing a XML-RPC request to be sent.

    Declaration

    Swift

    public func addDelegate(delegate: XmlRpcRequestDelegate)
  • The XmlRpcRequest object representing a XML-RPC request to be sent.

    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 XmlRpcStatus 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.

  • 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

    value

    The integer value of the added argument.

  • Add a string argument to an XML-RPC request.

    Declaration

    Swift

    public func addStringArg(value: String)

    Parameters

    value

    The string value of the added argument.