|
Elasticlient
|
Options to setup SSL for client connection. More...
#include <client.h>


Classes | |
| struct | CaInfo |
| Path to the custom CA bundle. More... | |
| struct | CertFile |
| Path to the certificate. More... | |
| struct | KeyFile |
| Path to the certificate key file. More... | |
| struct | SSLOptionType |
| Abstract base class for specific SSL options. More... | |
| struct | VerifyHost |
| Flag whether to verify host. More... | |
| struct | VerifyPeer |
| Flag whether to verify peer. More... | |
Public Member Functions | |
| SSLOption (SSLOption &&) | |
| template<typename... T> | |
| SSLOption (T... args) | |
| void | setSslOption (const SSLOptionType &) |
| Set single option - see SSLOptionType derived structs above. | |
Public Attributes | |
| std::unique_ptr< SSLOptionImplementation > | impl |
Protected Member Functions | |
| void | accept (Implementation &) const override |
| template<typename T > | |
| void | optSetter (T &&t) |
| Helper method to setup ssl options with SSLOptionType instances. | |
| template<typename T , typename... TRest> | |
| void | optSetter (T &&t, TRest &&... ts) |
| Helper method to setup ssl options with SSLOptionType instances. | |
Options to setup SSL for client connection.
|
inline |
Construct SSLOptions with various SSLOptionType options. All arguments passed to it must be base of SSLOptionType. If same types are passed, the last one overwrites preceeding one.
|
overrideprotectedvirtual |
Method to set option to the Client (internal impl). Set (derived) option specific settings to the implementation.
Implements elasticlient::Client::ClientOption.
1.8.17