From a946d79e8d0eb3a47f75d6e1e98a28462c584d67 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Dec 2024 12:32:15 -0800 Subject: http: handler set tree no longer returns a value (API break) --- docs/man/nng_http_handler_set_tree.3http.adoc | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'docs/man') diff --git a/docs/man/nng_http_handler_set_tree.3http.adoc b/docs/man/nng_http_handler_set_tree.3http.adoc index f0ecc4c9..3ee73de0 100644 --- a/docs/man/nng_http_handler_set_tree.3http.adoc +++ b/docs/man/nng_http_handler_set_tree.3http.adoc @@ -1,6 +1,6 @@ = nng_http_handler_set_tree(3http) -// Copyright 2020 Staysail Systems, Inc. +// Copyright 2024 Staysail Systems, Inc. // Copyright 2018 Capitar IT Group BV // Copyright 2020 Dirac Research // @@ -20,9 +20,9 @@ nng_http_handler_set_tree - set HTTP handler to match trees #include #include -int nng_http_handler_set_tree(nng_http_handler *handler); +void nng_http_handler_set_tree(nng_http_handler *handler); -int nng_http_handler_set_tree_exclusive(nng_http_handler *handler); +void nng_http_handler_set_tree_exclusive(nng_http_handler *handler); ---- == DESCRIPTION @@ -48,16 +48,6 @@ generated when a more specific child does not exist. This can provide a better experience for users than the standard 404 error handling. -== RETURN VALUES - -This function returns 0 on success, and non-zero otherwise. - -== ERRORS - -[horizontal] -`NNG_ENOMEM`:: Insufficient free memory exists. -`NNG_ENOTSUP`:: No support for HTTP in the library. - == SEE ALSO [.text-left] -- cgit v1.2.3-70-g09d2