oracular (3) mongoc_client_get_server_description.3.gz

Provided by: libmongoc-doc_1.27.5-1_all bug

SYNOPSIS

          mongoc_server_description_t *
          mongoc_client_get_server_description (
             mongoc_client_t *client, uint32_t server_id) BSON_GNUC_WARN_UNUSED_RESULT;

       Get information about the server specified by server_id.

PARAMETERS

client: A mongoc_client_t.

       • server_id: An opaque id specifying the server.

RETURNS

       A  mongoc_server_description_t that must be freed with mongoc_server_description_destroy(). If the server
       is no longer in the topology, returns NULL.

AUTHOR

       MongoDB, Inc

       2017-present, MongoDB, Inc