mirror of
https://github.com/monero-project/monero.git
synced 2025-08-10 06:40:10 -04:00
wallet2_api: implement runtime proxy configuration
This commit is contained in:
parent
5d850dde99
commit
76c16822d0
19 changed files with 212 additions and 54 deletions
|
@ -64,6 +64,7 @@ namespace http
|
|||
abstract_http_client() {}
|
||||
virtual ~abstract_http_client() {}
|
||||
bool set_server(const std::string& address, boost::optional<login> user, ssl_options_t ssl_options = ssl_support_t::e_ssl_support_autodetect);
|
||||
virtual bool set_proxy(const std::string& address);
|
||||
virtual void set_server(std::string host, std::string port, boost::optional<login> user, ssl_options_t ssl_options = ssl_support_t::e_ssl_support_autodetect) = 0;
|
||||
virtual void set_auto_connect(bool auto_connect) = 0;
|
||||
virtual bool connect(std::chrono::milliseconds timeout) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue