Elasticlient
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
elasticlient::Client::ProxiesOption Struct Reference

Proxies option for client connection. More...

#include <client.h>

Inheritance diagram for elasticlient::Client::ProxiesOption:
Inheritance graph
[legend]
Collaboration diagram for elasticlient::Client::ProxiesOption:
Collaboration graph
[legend]

Public Member Functions

 ProxiesOption (const std::initializer_list< std::pair< const std::string, std::string >> &proxies)
 

Public Attributes

std::unique_ptr< ProxiesOptionImplementation > impl
 

Protected Member Functions

void accept (Implementation &) const override
 

Detailed Description

Proxies option for client connection.

Constructor & Destructor Documentation

◆ 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
proxiesList of proxies consisting of the pair <protocol, proxy_url>.

Member Function Documentation

◆ accept()

void elasticlient::Client::ProxiesOption::accept ( Implementation &  ) const
overrideprotectedvirtual

Method to set option to the Client (internal impl). Set (derived) option specific settings to the implementation.

Implements elasticlient::Client::ClientOption.


The documentation for this struct was generated from the following file: