#include <client.h>
Public Member Functions | |
Client (const iqnet::Inet_addr &addr, const std::string &uri="/RPC", const std::string &vhost="") | |
![]() | |
Client_base (const iqnet::Inet_addr &addr, const std::string &uri, const std::string &vhost) | |
Response | execute (const std::string &, const Param_list &) |
Perform Remote Procedure Call. | |
Response | execute (const std::string &method, const Value &val) |
Perform Remote Procedure Call with only one parameter transfered. | |
void | set_proxy (const iqnet::Inet_addr &) |
Set address where actually connect to. Tested with HTTP only. | |
void | set_timeout (int seconds) |
Set connection timeout. More... | |
void | set_keep_alive (bool keep_alive) |
Set connection keep-alive flag. | |
void | set_authinfo (const std::string &user, const std::string &password) |
Set data for HTTP Basic authentication. | |
Additional Inherited Members | |
![]() | |
int | timeout () const |
Template of concrete client class. It is responsible for conneciton establishment (i.e. initialization of a concrete transport).
|
inline |
addr | Actual server address; |
uri | Requested URI (default "/RPC"); |
host | Requested virtual host (by default calculated form addr). |