1MONGOC_SERVER_DESCRIPTION_ISMASTER(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_ISMASTER(3)
2
3
4
6 Deprecated since version 1.18.0: This function is deprecated and
7 should not be used in new code.
8
9 Please use mongoc_server_description_hello_response() in new code.
10
11
13 const bson_t *
14 mongoc_server_description_ismaster (
15 const mongoc_server_description_t *description);
16
18 • description: A mongoc_server_description_t.
19
21 The client or client pool periodically runs a "hello" command on each
22 server, to update its view of the MongoDB deployment. Use
23 mongoc_client_get_server_descriptions() and mongoc_server_descrip‐
24 tion_hello_response() to get the most recent "hello" response.
25
27 A reference to a BSON document, owned by the server description. The
28 document is empty if the driver is not connected to the server.
29
31 MongoDB, Inc
32
34 2017-present, MongoDB, Inc
35
36
37
38
391.25.1 Nov 08, 2M0O2N3GOC_SERVER_DESCRIPTION_ISMASTER(3)