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