aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/api/http.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-14 08:26:14 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-14 08:26:14 -0800
commit6dc757342f5f9dedf38de356ae1802546f976bcc (patch)
tree87d931b409abcd6f4975c5742592b6d3464f24de /docs/ref/api/http.md
parent1b1f4609c6dad724b88dfb069b2260341e582906 (diff)
downloadnng-6dc757342f5f9dedf38de356ae1802546f976bcc.tar.gz
nng-6dc757342f5f9dedf38de356ae1802546f976bcc.tar.bz2
nng-6dc757342f5f9dedf38de356ae1802546f976bcc.zip
docs: pipe documentation
While here addressed some minor issues with http docs as well.
Diffstat (limited to 'docs/ref/api/http.md')
-rw-r--r--docs/ref/api/http.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/ref/api/http.md b/docs/ref/api/http.md
index 548339f3..dfa9d07d 100644
--- a/docs/ref/api/http.md
+++ b/docs/ref/api/http.md
@@ -106,6 +106,7 @@ void nng_http_set_status(nng_http *conn, nng_http_status status, const char *rea
The {{i:`nng_http_get_status`}} function obtains the numeric code (typipcally numbered from 100 through 599) returned
by the server in the last exchange on _conn_. (If no exchange has been performed yet, the result is undefined.)
+The value is returned as an {{i:`nng_http_status`}}.
A descriptive message matching the status code is returned by {{i:`nng_http_get_reason`}}.