Provided by: libmongoc-doc_2.2.1-1_all 

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
• session: A mongoc_client_session_t <>.
RETURNS
A mongoc_session_opt_t <> that is valid only for the lifetime of session.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.1 Dec 11, 2025 MONGOC_CLIENT_SESSION_GET_OPTS(3)