Proxies option for client connection.
More...
#include <client.h>
|
| ProxiesOption (const std::initializer_list< std::pair< const std::string, std::string >> &proxies) |
|
|
std::unique_ptr< ProxiesOptionImplementation > | impl |
|
|
void | accept (Implementation &) const override |
|
Proxies option for client connection.
◆ ProxiesOption()
elasticlient::Client::ProxiesOption::ProxiesOption |
( |
const std::initializer_list< std::pair< const std::string, std::string >> & |
proxies | ) |
|
|
explicit |
Set proxies to the client connection.
- Parameters
-
proxies | List of proxies consisting of the pair <protocol, proxy_url>. |
◆ accept()
void elasticlient::Client::ProxiesOption::accept |
( |
Implementation & |
| ) |
const |
|
overrideprotectedvirtual |
The documentation for this struct was generated from the following file:
- /home/runner/work/elasticlient/elasticlient/include/elasticlient/client.h