From d6fd9b2a737373f5087b6ccf882f926570e1ab60 Mon Sep 17 00:00:00 2001 From: alawn-wang <824873155@qq.com> Date: Mon, 20 Nov 2023 13:36:41 +0800 Subject: [PATCH] [fixed] fix description of function nng_http_handler_collect_body() --- docs/man/nng_http_handler_collect_body.3http.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/man/nng_http_handler_collect_body.3http.adoc b/docs/man/nng_http_handler_collect_body.3http.adoc index 4507c4183..b614f6758 100644 --- a/docs/man/nng_http_handler_collect_body.3http.adoc +++ b/docs/man/nng_http_handler_collect_body.3http.adoc @@ -25,7 +25,7 @@ int nng_http_handler_collect_body(nng_http_handler *handler, bool want, size_t m == DESCRIPTION -The `nng_http_handler_collect_data()` function causes the _handler_ to +The `nng_http_handler_collect_body()` function causes the _handler_ to collect any request body that was submitted with the request, and attach it to the `nng_http_req` before the handler is called.