Liblinphone
4.5.0
|
The XmlRpcRequest object representing a XML-RPC request to be sent. More...
#include <xml_rpc_request.hh>
Public Member Functions | |
XmlRpcRequest (void *ptr, bool takeRef=true) | |
LINPHONECXX_PUBLIC _LinphoneXmlRpcRequest * | cPtr () |
LINPHONECXX_PUBLIC void | addListener (const std::shared_ptr< XmlRpcRequestListener > &listener) |
LINPHONECXX_PUBLIC void | removeListener (const std::shared_ptr< XmlRpcRequestListener > &listener) |
LINPHONECXX_PUBLIC std::string | getContent () const |
Get the content of the XML-RPC request. More... | |
LINPHONECXX_PUBLIC int | getIntResponse () const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning an integer response. More... | |
LINPHONECXX_PUBLIC std::list< std::string > | getListResponse () const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning a string response. More... | |
LINPHONECXX_PUBLIC std::string | getRawResponse () const |
Get the raw response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning http body as string. More... | |
LINPHONECXX_PUBLIC linphone::XmlRpcStatus | getStatus () const |
Get the status of the XML-RPC request. More... | |
LINPHONECXX_PUBLIC std::string | getStringResponse () const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning a string response. More... | |
LINPHONECXX_PUBLIC void | addIntArg (int value) |
Add an integer argument to an XML-RPC request. More... | |
LINPHONECXX_PUBLIC void | addStringArg (const std::string &value) |
Add a string argument to an XML-RPC request. More... | |
The XmlRpcRequest object representing a XML-RPC request to be sent.
LINPHONECXX_PUBLIC void linphone::XmlRpcRequest::addIntArg | ( | int | value | ) |
Add an integer argument to an XML-RPC request.
value | The integer value of the added argument. |
LINPHONECXX_PUBLIC void linphone::XmlRpcRequest::addStringArg | ( | const std::string & | value | ) |
Add a string argument to an XML-RPC request.
value | The string value of the added argument. |
LINPHONECXX_PUBLIC std::string linphone::XmlRpcRequest::getContent | ( | ) | const |
Get the content of the XML-RPC request.
LINPHONECXX_PUBLIC int linphone::XmlRpcRequest::getIntResponse | ( | ) | const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning an integer response.
LINPHONECXX_PUBLIC std::list<std::string> linphone::XmlRpcRequest::getListResponse | ( | ) | const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning a string response.
LINPHONECXX_PUBLIC std::string linphone::XmlRpcRequest::getRawResponse | ( | ) | const |
Get the raw response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning http body as string.
LINPHONECXX_PUBLIC linphone::XmlRpcStatus linphone::XmlRpcRequest::getStatus | ( | ) | const |
Get the status of the XML-RPC request.
LINPHONECXX_PUBLIC std::string linphone::XmlRpcRequest::getStringResponse | ( | ) | const |
Get the response to an XML-RPC request sent with XmlRpcSession::sendRequest() and returning a string response.