aboutsummaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:32:15 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:32:15 -0800
commita946d79e8d0eb3a47f75d6e1e98a28462c584d67 (patch)
treedc848a251a9f483eccbae1d043e52136eabb473f /docs/man
parent2662596f105fc98ae1d2aa3b6137261bb351a8df (diff)
downloadnng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.tar.gz
nng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.tar.bz2
nng-a946d79e8d0eb3a47f75d6e1e98a28462c584d67.zip
http: handler set tree no longer returns a value (API break)
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/nng_http_handler_set_tree.3http.adoc16
1 files changed, 3 insertions, 13 deletions
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. <info@staysail.tech>
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
// Copyright 2020 Dirac Research <robert.bielik@dirac.com>
//
@@ -20,9 +20,9 @@ nng_http_handler_set_tree - set HTTP handler to match trees
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
-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]