mirror of
https://github.com/monero-project/monero.git
synced 2025-05-19 21:30:22 -04:00
Add server auth to monerod, and client auth to wallet-cli and wallet-rpc
This commit is contained in:
parent
e56bf442c3
commit
ce7fcbb4ae
38 changed files with 495 additions and 189 deletions
|
@ -48,7 +48,7 @@ namespace {
|
|||
bool connect_and_invoke(const std::string& address, const std::string& path, const Request& request, Response& response)
|
||||
{
|
||||
epee::net_utils::http::http_simple_client client{};
|
||||
return client.set_server(address) && epee::net_utils::invoke_http_json(path, request, response, client);
|
||||
return client.set_server(address, boost::none) && epee::net_utils::invoke_http_json(path, request, response, client);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue