mongoc_client_get_server_description(3)

mongoc_client_get_server_description3

Usage

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

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.