1MONGOC_SERVER_DESCRIPTION_ISMASTER(3l)ibmongMoOcNGOC_SERVER_DESCRIPTION_ISMASTER(3)
2
3
4
6 mongoc_server_description_ismaster - mongoc_server_description_ismas‐
7 ter()
8
10 const bson_t *
11 mongoc_server_description_ismaster (
12 const mongoc_server_description_t *description);
13
15 WARNING:
16 This function is deprecated and should not be used in new code.
17
18 Please use mongoc_server_description_hello_response() instead.
19
21 • description: A mongoc_server_description_t.
22
24 The client or client pool periodically runs a "hello" command on each
25 server, to update its view of the MongoDB deployment. Use mon‐
26 goc_client_get_server_descriptions() and mongoc_server_descrip‐
27 tion_hello_response() to get the most recent "hello" response.
28
30 A reference to a BSON document, owned by the server description. The
31 document is empty if the driver is not connected to the server.
32
34 MongoDB, Inc
35
37 2017-present, MongoDB, Inc
38
39
40
41
421.20.0 Nov 18, 2M0O2N1GOC_SERVER_DESCRIPTION_ISMASTER(3)