NNG_HTTP_HANDLER_GET_DATA(3http)
πΈ 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 π₯
nng_http_handler_alloc(3http)nng_http_server_set_data(3http)nng_http_server_add_handler(3http)nng(7)
π 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
- alpine 3.24: nng-doc 1.11-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms