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
8       WARNING:
9          Deprecated  since  version  1.21.0:  This function is deprecated and
10          should not be used in new code.
11
12          Please use mongoc_uri_get_srv_hostname() in new code.
13
14

SYNOPSIS

16          const char *
17          mongoc_uri_get_service (const mongoc_uri_t *uri)
18             BSON_GNUC_DEPRECATED_FOR (mongoc_uri_get_srv_hostname);
19

PARAMETERS

21uri: A mongoc_uri_t.
22
23       Returns the SRV host and domain name of a MongoDB URI.
24

RETURNS

26       A string if this URI's scheme  is  "mongodb+srv://",  or  NULL  if  the
27       scheme is "mongodb://".
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.24.3                           Aug 17, 2023        MONGOC_URI_GET_SERVICE(3)
Impressum