From 0863d12e2b5173efeb074cbc9fa05f26274f126b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 12 Sep 2018 12:48:13 -0700 Subject: fixes #717 need nng_http_req_reset and nng_http_res_reset fixes #718 http_transact is still not right fixes #719 calculation of buffer size is incorrect in http --- docs/man/nng_http_req_alloc.3http.adoc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/man/nng_http_req_alloc.3http.adoc') diff --git a/docs/man/nng_http_req_alloc.3http.adoc b/docs/man/nng_http_req_alloc.3http.adoc index 3a522b3e..fe7458de 100644 --- a/docs/man/nng_http_req_alloc.3http.adoc +++ b/docs/man/nng_http_req_alloc.3http.adoc @@ -30,6 +30,10 @@ and stores a pointer to it in __reqp__. The request will be initialized to perform an HTTP/1.1 `GET` operation using the URL specified in __url__. +TIP: It is possible to specify `NULL` for the URL. +In this case the URI for the request must be specified by a subsequent call +to `<>`. + == RETURN VALUES This function returns 0 on success, and non-zero otherwise. @@ -53,6 +57,7 @@ This function returns 0 on success, and non-zero otherwise. <>, <>, <>, +<>, <>, <>, <>, -- cgit v1.2.3-70-g09d2