diff options
Diffstat (limited to 'docs/man/nng_http_handler_set_data.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_handler_set_data.3http.adoc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/man/nng_http_handler_set_data.3http.adoc b/docs/man/nng_http_handler_set_data.3http.adoc index e83ecb6b..91d2b122 100644 --- a/docs/man/nng_http_handler_set_data.3http.adoc +++ b/docs/man/nng_http_handler_set_data.3http.adoc @@ -28,8 +28,6 @@ void nng_http_handler_set_data(nng_http_handler *handler, void *data, The `nng_http_handler_set_data()` function is used to set an additional _data_ for the _handler_. -The stored _data_ can be retrieved later in the handler function using -xref:nng_http_handler_get_data.3http.adoc[`nng_http_handler_get_data()`]. Additionally, when the handler is deallocated, if _dtor_ is not `NULL`, then it will be called with _data_ as its argument. @@ -40,6 +38,5 @@ this function is deallocate any resources associated with _data_. [.text-left] xref:nng_http_handler_alloc.3http.adoc[nng_http_handler_alloc(3http)], -xref:nng_http_handler_get_data.3http.adoc[nng_http_server_get_data(3http)], xref:nng_http_server_add_handler.3http.adoc[nng_http_server_add_handler(3http)], xref:nng.7.adoc[nng(7)] |
