diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-12 08:07:20 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-12 08:07:20 -0800 |
| commit | d87b873ea5bbdae1352b2a61f5110f20b65928cc (patch) | |
| tree | bea488ee888710a7c99705d6de18ed49e9efebb7 /docs/ref | |
| parent | b16e6ebf05429cb4ac29b3a5a5c9758fa362c78a (diff) | |
| download | nng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.tar.gz nng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.tar.bz2 nng-d87b873ea5bbdae1352b2a61f5110f20b65928cc.zip | |
http: status and reason fixes (make it match docs)
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/api/http.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/api/http.md b/docs/ref/api/http.md index b2382155..48b09300 100644 --- a/docs/ref/api/http.md +++ b/docs/ref/api/http.md @@ -108,7 +108,7 @@ by the server in the last exchange on _conn_. (If no exchange has been performed A descriptive message matching the status code is returned by {{i:`nng_http_get_reason`}}. -The {{i:`nng_http_set_status`}} function is used on a server in a handler callback to set the status codethat will be +The {{i:`nng_http_set_status`}} function is used on a server in a handler callback to set the status code that will be reported to the client to _status_, and the associated text (reason) to _reason_. If _reason_ is `NULL`, then a built in reason based on the _status_ will be used instead. |
