From c34abc224e572b19fb5aa1b5afc8841705485d14 Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Sun, 12 Jan 2025 10:42:54 -0800
Subject: http: remove unused nng_http_handler_get_data

The data is now passed directly to the handler function.
---
 docs/man/nng_http_handler_set_data.3http.adoc | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'docs/man/nng_http_handler_set_data.3http.adoc')

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)]
-- 
cgit v1.2.3-70-g09d2

