1MONGOC_URI_GET_SERVICE(3)          libmongoc         MONGOC_URI_GET_SERVICE(3)
2
3
4

NAME

6       mongoc_uri_get_service - mongoc_uri_get_service()
7

SYNOPSIS

9          const char *
10          mongoc_uri_get_service (const mongoc_uri_t *uri);
11

PARAMETERS

13uri: A mongoc_uri_t.
14

DESCRIPTION

16       Returns the SRV service name of a MongoDB URI.
17

RETURNS

19       A  string  if  this  URI's  scheme  is "mongodb+srv://", or NULL if the
20       scheme is "mongodb://".
21

AUTHOR

23       MongoDB, Inc
24
26       2017-present, MongoDB, Inc
27
28
29
30
311.20.0                           Nov 18, 2021        MONGOC_URI_GET_SERVICE(3)
Impressum