31 #include <boost/optional/optional.hpp> 36 #include "storages/http_abstract_invoke.h" 37 #include "net/http_auth.h" 38 #include "net/http_client.h" 39 #include "string_tools.h" 51 , boost::optional<epee::net_utils::http::login> user
56 epee::string_tools::get_ip_string_from_int32(ip), std::to_string(port), std::move(user)
60 template <
typename T_req,
typename T_res>
64 , std::string
const & method_name
87 template <
typename T_req,
typename T_res>
91 , std::string
const & method_name
92 , std::string
const & fail_msg
106 fail_msg_writer() << fail_msg <<
" -- json_rpc_request: " << res.status;
115 template <
typename T_req,
typename T_res>
119 , std::string
const & relative_url
120 , std::string
const & fail_msg
125 bool ok = connection.
is_open();
#define CORE_RPC_STATUS_OK
Definition: core_rpc_server_commands_defs.h:40