NNG_HTTP_HANDLER_GET_DATA(3http)

πŸ“¦ version 1.11, in alpine 3.24

🌸 NAME 🌸

nng_http_handler_get_data β€” return extra data for HTTP handler

Straight from the NNG Reference Manual, section 3http, bestie. πŸ’– This one is short, sweet, and literally the getter for the extra data attached to an HTTP handler.


✨ SYNOPSIS ✨

#include <nng/nng.h>
#include <nng/supplemental/http/http.h>

void *nng_http_handler_get_data(nng_http_handler *handler);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the nng_http_handler_get_data() function returns the data previously stored on handler using the function nng_http_handler_set_data(). That’s the whole plot, no cap. 🫢


πŸ’… RETURN VALUES πŸ’…

None. That’s the entire return-value situation. ✨


πŸŽ€ ERRORS πŸŽ€

None. It’s giving flawless, error-free energy. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯


πŸ’‹ kisses from the NNG Reference Manual, dated 2026-01-13 β€” that’s the source/version and date, bestie, and this page ate. πŸŽ€

πŸ“¦ where this page comes from