nng_http_handler_get_data − return extra data for HTTP handler
#include
<nng/nng.h>
#include <nng/supplemental/http/http.h>
void *nng_http_handler_get_data(nng_http_handler *handler);
The nng_http_handler_get_data() function returns the data previously stored on handler using the function nng_http_handler_set_data().
None.
None.
nng_http_handler_alloc(3http), nng_http_server_set_data(3http), nng_http_server_add_handler(3http), nng(7)