MongoDB C++ Driver  mongocxx-3.4.0
Public Member Functions | List of all members
mongocxx::options::client Class Reference

Class representing the optional arguments to a MongoDB driver client object. More...

#include <client.hpp>

Public Member Functions

clientssl_opts (ssl ssl_opts)
 Sets the SSL-related options. More...
 
const stdx::optional< ssl > & ssl_opts () const
 The current SSL-related options. More...
 
clientapm_opts (apm apm_opts)
 Sets the APM-related options. More...
 
const stdx::optional< apm > & apm_opts () const
 The current APM-related options. More...
 

Detailed Description

Class representing the optional arguments to a MongoDB driver client object.

Member Function Documentation

◆ apm_opts() [1/2]

client& mongocxx::options::client::apm_opts ( apm  apm_opts)

Sets the APM-related options.

Parameters
apm_optsThe APM-related options.
Returns
A reference to the object on which this member function is being called. This facilitates method chaining.

◆ apm_opts() [2/2]

const stdx::optional<apm>& mongocxx::options::client::apm_opts ( ) const

The current APM-related options.

Returns
The APM-related options.

◆ ssl_opts() [1/2]

client& mongocxx::options::client::ssl_opts ( ssl  ssl_opts)

Sets the SSL-related options.

Parameters
ssl_optsThe SSL-related options.
Returns
A reference to the object on which this member function is being called. This facilitates method chaining.

◆ ssl_opts() [2/2]

const stdx::optional<ssl>& mongocxx::options::client::ssl_opts ( ) const

The current SSL-related options.

Returns
The SSL-related options.

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