You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/xmlrpc2di/TOXmlRpcClient.h

25 lines
530 B

#ifndef _TO_XMLRPCCLIENT_H
#define _TO_XMLRPCCLIENT_H
#include "XmlRpcClient.h"
using namespace XmlRpc;
/* xmlrpc client with timeout */
class TOXmlRpcClient : public XmlRpc::XmlRpcClient {
public:
TOXmlRpcClient(const char* host, int port, const char* uri=0
#ifdef HAVE_XMLRPCPP_SSL
, bool ssl=false
#endif
)
: XmlRpcClient(host, port, uri
#ifdef HAVE_XMLRPCPP_SSL
, ssl
#endif
) { }
bool execute(const char* method, XmlRpcValue const& params,
XmlRpcValue& result, double timeout);
};
#endif