diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-09-12 12:48:13 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-09-12 12:51:31 -0700 |
| commit | 0863d12e2b5173efeb074cbc9fa05f26274f126b (patch) | |
| tree | 2b4b137aa4d85d681fe0bc5118a22155cb691536 /docs/man/nng_http_req_alloc.3http.adoc | |
| parent | 5f73996bf368e7f5d7249679c738a87873cb340d (diff) | |
| download | nng-0863d12e2b5173efeb074cbc9fa05f26274f126b.tar.gz nng-0863d12e2b5173efeb074cbc9fa05f26274f126b.tar.bz2 nng-0863d12e2b5173efeb074cbc9fa05f26274f126b.zip | |
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
Diffstat (limited to 'docs/man/nng_http_req_alloc.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_req_alloc.3http.adoc | 5 |
1 files changed, 5 insertions, 0 deletions
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 `<<nng_http_req_set_uri.3http#,nng_http_req_set_uri()>>`. + == 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. <<nng_http_req_get_method.3http#,nng_http_req_get_method(3http)>>, <<nng_http_req_get_uri.3http#,nng_http_req_get_uri(3http)>>, <<nng_http_req_get_version.3http#,nng_http_req_get_version(3http)>>, +<<nng_http_req_reset.3http#,nng_http_req_reset(3http)>>, <<nng_http_req_set_data.3http#,nng_http_req_set_data(3http)>>, <<nng_http_req_set_method.3http#,nng_http_req_set_method(3http)>>, <<nng_http_req_set_uri.3http#,nng_http_req_set_uri(3http)>>, |
