#include <rpc_client.h>
|
| | t_rpc_client (uint32_t ip, uint16_t port, boost::optional< epee::net_utils::http::login > user, epee::net_utils::ssl_options_t ssl_options) |
| |
| template<typename T_req , typename T_res > |
| bool | basic_json_rpc_request (T_req &req, T_res &res, std::string const &method_name) |
| |
| template<typename T_req , typename T_res > |
| bool | json_rpc_request (T_req &req, T_res &res, std::string const &method_name, std::string const &fail_msg) |
| |
| template<typename T_req , typename T_res > |
| bool | rpc_request (T_req &req, T_res &res, std::string const &relative_url, std::string const &fail_msg) |
| |
| bool | check_connection () |
| |
◆ t_rpc_client()
| tools::t_rpc_client::t_rpc_client |
( |
uint32_t |
ip, |
|
|
uint16_t |
port, |
|
|
boost::optional< epee::net_utils::http::login > |
user, |
|
|
epee::net_utils::ssl_options_t |
ssl_options |
|
) |
| |
|
inline |
◆ basic_json_rpc_request()
template<typename T_req , typename T_res >
| bool tools::t_rpc_client::basic_json_rpc_request |
( |
T_req & |
req, |
|
|
T_res & |
res, |
|
|
std::string const & |
method_name |
|
) |
| |
|
inline |
◆ check_connection()
| bool tools::t_rpc_client::check_connection |
( |
| ) |
|
|
inline |
◆ json_rpc_request()
template<typename T_req , typename T_res >
| bool tools::t_rpc_client::json_rpc_request |
( |
T_req & |
req, |
|
|
T_res & |
res, |
|
|
std::string const & |
method_name, |
|
|
std::string const & |
fail_msg |
|
) |
| |
|
inline |
◆ rpc_request()
template<typename T_req , typename T_res >
| bool tools::t_rpc_client::rpc_request |
( |
T_req & |
req, |
|
|
T_res & |
res, |
|
|
std::string const & |
relative_url, |
|
|
std::string const & |
fail_msg |
|
) |
| |
|
inline |
◆ m_http_client
| epee::net_utils::http::http_simple_client tools::t_rpc_client::m_http_client |
|
private |
The documentation for this class was generated from the following file: