MongoDB C++ Driver
mongocxx-3.6.2
|
Class representing the optional arguments to a MongoDB driver client object. More...
#include <client.hpp>
Public Member Functions | |
MONGOCXX_DEPRECATED client & | ssl_opts (tls ssl_opts) |
Sets the SSL-related options. More... | |
client & | tls_opts (tls tls_opts) |
Sets the TLS-related options. More... | |
MONGOCXX_DEPRECATED const stdx::optional< tls > & | ssl_opts () const |
The current SSL-related options. More... | |
const stdx::optional< tls > & | tls_opts () const |
The current TLS-related options. More... | |
client & | auto_encryption_opts (auto_encryption auto_encryption_opts) |
Sets the automatic encryption options. More... | |
const stdx::optional< auto_encryption > & | auto_encryption_opts () const |
Gets the current automatic encryption options. More... | |
client & | apm_opts (apm apm_opts) |
Sets the APM-related options. More... | |
const stdx::optional< apm > & | apm_opts () const |
The current APM-related options. More... | |
Class representing the optional arguments to a MongoDB driver client object.
const stdx::optional<apm>& mongocxx::options::client::apm_opts | ( | ) | const |
The current APM-related options.
Sets the APM-related options.
apm_opts | The APM-related options. |
const stdx::optional<auto_encryption>& mongocxx::options::client::auto_encryption_opts | ( | ) | const |
Gets the current automatic encryption options.
client& mongocxx::options::client::auto_encryption_opts | ( | auto_encryption | auto_encryption_opts | ) |
Sets the automatic encryption options.
auto_encryption_opts | The options for automatic encryption. |
MONGOCXX_DEPRECATED const stdx::optional<tls>& mongocxx::options::client::ssl_opts | ( | ) | const |
The current SSL-related options.
Sets the SSL-related options.
ssl_opts | The SSL-related options. |
const stdx::optional<tls>& mongocxx::options::client::tls_opts | ( | ) | const |
The current TLS-related options.
Sets the TLS-related options.
tls_opts | The TLS-related options. |