MONGOC_SERVER_DESCRIPTION_HOST(3)
π
MONGOC_SERVER_DESCRIPTION_HOST(3) π
okay so bestie, this little icon is from libmongoc and it's all about mongoc_server_description_host() β the function that hands you the server's host and port info. no cap, it's giving "where exactly is this server at?" energy. β¨
β¨ SYNOPSIS β¨
const mongoc_host_list_t *
mongoc_server_description_host (const mongoc_server_description_t *description);
π PARAMETERS π
descriptionβ amongoc_server_description_t. that's the server description you're asking about, periodt. π
π DESCRIPTION π
Return the server's host and port. This object is owned by the server description.
lowkey important: it's owned by the server description, so don't treat it like it's yours to manage. iykyk. π«Ά
π RETURNS π
Changed in version 2.0.0: The return type changed frommongoc_host_list_t *toconst mongoc_host_list_t *.
A reference to the server description's mongoc_host_list_t. slay. π
π AUTHOR π
MongoDB, Inc
π¦ COPYRIGHT π¦
2009-present, MongoDB, Inc.
made with π by libmongoc 2.5.6, dated Oct 09, 2026 β mwah, slay, bye bestie! π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms