mongoc_uri_get_srv_service_name - Man Page

mongoc_uri_get_srv_service_name()

Synopsis

const char *
mongoc_uri_get_srv_service_name (const mongoc_uri_t *uri);

Parameters

Description

Returns the SRV service name of a MongoDB URI.

Returns

A string corresponding to the value of the srvServiceName URI option if present. Otherwise, the default value "mongodb".

Author

MongoDB, Inc

Info

Sep 08, 2022 1.23.0 libmongoc