From c34abc224e572b19fb5aa1b5afc8841705485d14 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore 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. --- include/nng/http.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/nng/http.h b/include/nng/http.h index d8654815..683e1f38 100644 --- a/include/nng/http.h +++ b/include/nng/http.h @@ -301,9 +301,6 @@ NNG_DECL void nng_http_handler_set_tree(nng_http_handler *); NNG_DECL void nng_http_handler_set_data( nng_http_handler *, void *, void (*)(void *)); -// nng_http_handler_get_data returns the data that was previously stored. -NNG_DECL void *nng_http_handler_get_data(nng_http_handler *); - // nng_http_server is a handle to an HTTP server instance. Servers // only serve a single port / address at this time. -- cgit v1.2.3-70-g09d2