From c4ca4834e39e48676ea50df1fc6239c7dc2a56ff Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 15 Jan 2025 08:14:00 -0800 Subject: http docs: documentation conversion for http handlers This is not yet fully complete, but it's most of the content. --- include/nng/http.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/nng/http.h b/include/nng/http.h index a2198cce..1ff541ac 100644 --- a/include/nng/http.h +++ b/include/nng/http.h @@ -236,6 +236,8 @@ NNG_DECL nng_err nng_http_handler_alloc( // nng_http_handler_free frees the handler. This actually just drops a // reference count on the handler, as it may be in use by an existing // server. The server will also call this when it is destroyed. +// This is not formally documented as there is no practical reason that +// user code should need to free a handler explicitly. NNG_DECL void nng_http_handler_free(nng_http_handler *); // nng_http_handler_alloc_file creates a "file" based handler, that -- cgit v1.2.3-70-g09d2