32 #include <boost/optional/optional.hpp> 37 #include "storages/http_abstract_invoke.h" 38 #include "net/http_auth.h" 39 #include "net/http_client.h" 40 #include "string_tools.h" 52 , boost::optional<epee::net_utils::http::login> user
57 epee::string_tools::get_ip_string_from_int32(ip),
std::to_string(port), std::move(user)
61 template <
typename T_req,
typename T_res>
88 template <
typename T_req,
typename T_res>
93 , std::string
const & fail_msg
116 template <
typename T_req,
typename T_res>
120 , std::string
const & relative_url
121 , std::string
const & fail_msg
126 bool ok = connection.
is_open();
#define CORE_RPC_STATUS_OK
Definition: core_rpc_server_commands_defs.h:41
std::string to_string(t_connection_type type)
Definition: connection_basic.cpp:96
std::string method_name(HTTPMethod method)
Definition: common.h:34