1MONGOC_URI_GET_SERVICE(3) libmongoc MONGOC_URI_GET_SERVICE(3)
23
4
NAME
6mongoc_uri_get_service - mongoc_uri_get_service()
7
SYNOPSIS
9const char *
10mongoc_uri_get_service (const mongoc_uri_t *uri);
11
PARAMETERS
13ยท uri: A mongoc_uri_t.
14
DESCRIPTION
16Returns the SRV service name of a MongoDB URI.
17
RETURNS
19A string if this URI's scheme is "mongodb+srv://", or NULL if the
20scheme is "mongodb://".
21
AUTHOR
23MongoDB, Inc
24
COPYRIGHT
262017-present, MongoDB, Inc
2728
29
30
31
1.16.2 Feb 25, 2020 MONGOC_URI_GET_SERVICE(3)