MongoDB C++ Driver
mongocxx-3.10.2
|
Class representing the optional arguments to a MongoDB driver client object. More...
#include <client.hpp>
Public Member Functions | |
client & | ssl_opts (tls ssl_opts) |
Sets the SSL-related options. More... | |
client & | tls_opts (tls tls_opts) |
Sets the TLS-related options. More... | |
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... | |
client & | server_api_opts (server_api server_api_opts) |
Sets the server API options. More... | |
const stdx::optional< server_api > & | server_api_opts () const |
Gets the current server API options or returns a disengaged optional if there are no server API options set. More... | |
Class representing the optional arguments to a MongoDB driver client object.
const stdx::optional<apm>& mongocxx::v_noabi::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::v_noabi::options::client::auto_encryption_opts | ( | ) | const |
Gets the current automatic encryption options.
client& mongocxx::v_noabi::options::client::auto_encryption_opts | ( | auto_encryption | auto_encryption_opts | ) |
Sets the automatic encryption options.
auto_encryption_opts | The options for automatic encryption. |
const stdx::optional<server_api>& mongocxx::v_noabi::options::client::server_api_opts | ( | ) | const |
Gets the current server API options or returns a disengaged optional if there are no server API options set.
client& mongocxx::v_noabi::options::client::server_api_opts | ( | server_api | server_api_opts | ) |
Sets the server API options.
server_api_opts | The options for server API. |
const stdx::optional<tls>& mongocxx::v_noabi::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::v_noabi::options::client::tls_opts | ( | ) | const |
The current TLS-related options.
Sets the TLS-related options.
tls_opts | The TLS-related options. |