aboutsummaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/nng_http_res_set_status.3http.adoc11
1 files changed, 1 insertions, 10 deletions
diff --git a/docs/man/nng_http_res_set_status.3http.adoc b/docs/man/nng_http_res_set_status.3http.adoc
index e57764d4..a1374941 100644
--- a/docs/man/nng_http_res_set_status.3http.adoc
+++ b/docs/man/nng_http_res_set_status.3http.adoc
@@ -20,7 +20,7 @@ nng_http_res_set_status - set HTTP response status
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
-int nng_http_res_set_status(nng_http_res *res, uint16_t status);
+void nng_http_res_set_status(nng_http_res *res, uint16_t status);
----
== DESCRIPTION
@@ -106,15 +106,6 @@ TIP: It is a good idea to also set the reason message with
xref:nng_http_res_set_reason.3http.adoc[`nng_http_set_reason()`].
This will help any humans who may have to diagnose a failure.
-== RETURN VALUES
-
-This function returns 0 on success, and non-zero otherwise.
-
-== ERRORS
-
-[horizontal]
-`NNG_ENOTSUP`:: No support for HTTP in the library.
-
== SEE ALSO
[.text-left]