MONGOC_APM_SER...ENING_GET_HOST(3)

πŸ’… MONGOC_APM_SER...ENING_GET_HOST(3) β€” a libmongoc moment ✨

welcome to the libmongoc manual, bestie 🫢 this one is short and sweet, and yes she ate.

✨ SYNOPSIS ✨

const mongoc_host_list_t *
mongoc_apm_server_opening_get_host (const mongoc_apm_server_opening_t *event);

okay so this function returns this event's host. the mongoc_host_list_t is not part of a linked list β€” it is solely the server for this event. the data is only valid in the scope of the callback that receives this event; copy it if it will be accessed after the callback returns. periodt πŸ’…

🌸 PARAMETERS 🌸

  • event β€” A mongoc_apm_server_opening_t. that's the whole vibe check πŸ¦‹

πŸ’– RETURNS πŸ’–

A mongoc_host_list_t that should not be modified or freed. no touching, no freeing, she's a guest πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • Introduction to Application Performance Monitoring 🌈

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc 🫢

2009-present, MongoDB, Inc. πŸ’œ


xoxo, this iconic page is from libmongoc version 2.5.6, dated Oct 09, 202 (the footer got a little clipped/merged, ngl πŸ˜­πŸ’€) β€” signing off from the group chat 🧚✨

πŸ“¦ where this page comes from