mongoc_client_session_get_opts()#

Synopsis#

const mongoc_session_opt_t *
mongoc_client_session_get_opts (const mongoc_client_session_t *session);

Get a reference to the mongoc_session_opt_t with which this session was configured.

Parameters#

Returns#

A mongoc_session_opt_t that is valid only for the lifetime of session.