diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-12 10:42:54 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-12 10:52:03 -0800 |
| commit | c34abc224e572b19fb5aa1b5afc8841705485d14 (patch) | |
| tree | 82f6a936ae84fbece104dfb07b0b7c9ac0581dc8 /docs/man/nng_http_handler_set_data.3http.adoc | |
| parent | e5721f6b4dd7e4084a14b6f2f38bfb3672796ac9 (diff) | |
| download | nng-c34abc224e572b19fb5aa1b5afc8841705485d14.tar.gz nng-c34abc224e572b19fb5aa1b5afc8841705485d14.tar.bz2 nng-c34abc224e572b19fb5aa1b5afc8841705485d14.zip | |
http: remove unused nng_http_handler_get_data
The data is now passed directly to the handler function.
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)] |
