--- version: 0.2.0 layout: refman --- nng_http_handler_get_data(3)

SYNOPSIS

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

int nng_http_handler_get_data(nng_http_handler *handler, void *data,
    void (*dtor)(void *));

DESCRIPTION

The nng_http_handler_get_data() function returns the data previously stored on handler using the function nng_http_handler_set_data(3).

RETURN VALUES

None.

ERRORS

None.

SEE ALSO