Provided by: libmongoc-doc_2.2.0-1_all bug

SYNOPSIS

          const char *
          mongoc_server_description_type (const mongoc_server_description_t *description);

PARAMETERS

description: A mongoc_server_description_t <>.

DESCRIPTION

       This  function  returns  a string, one of the server types defined in the Server Discovery And Monitoring
       Spec:

       • Standalone

       • Mongos

       • PossiblePrimary

       • LoadBalancer

       • RSPrimary

       • RSSecondary

       • RSArbiter

       • RSOther

       • RSGhost

       • Unknown

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.0                                             Nov 26, 2025                 MONGOC_SERVER_DESCRIPTION_TYPE(3)