1MONGOC_SERVER_DESCRIPTION_TYPE(3) libmongoc MONGOC_SERVER_DESCRIPTION_TYPE(3)
2
3
4
6 mongoc_server_description_type - mongoc_server_description_type()
7
9 const char *
10 mongoc_server_description_type (const mongoc_server_description_t *description);
11
13 • description: A mongoc_server_description_t.
14
16 This function returns a string, one of the server types defined in the
17 Server Discovery And Monitoring Spec:
18
19 • Standalone
20
21 • Mongos
22
23 • PossiblePrimary
24
25 • LoadBalancer
26
27 • RSPrimary
28
29 • RSSecondary
30
31 • RSArbiter
32
33 • RSOther
34
35 • RSGhost
36
37 • Unknown
38
40 MongoDB, Inc
41
43 2017-present, MongoDB, Inc
44
45
46
47
481.23.1 Oct 20, 2022MONGOC_SERVER_DESCRIPTION_TYPE(3)