diff options
Diffstat (limited to 'docs/man/nng_http_req_set_method.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_req_set_method.3http.adoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/man/nng_http_req_set_method.3http.adoc b/docs/man/nng_http_req_set_method.3http.adoc index 786cc071..5cb14926 100644 --- a/docs/man/nng_http_req_set_method.3http.adoc +++ b/docs/man/nng_http_req_set_method.3http.adoc @@ -16,12 +16,12 @@ nng_http_req_set_method - set HTTP request method == SYNOPSIS [source, c] ------------ +---- #include <nng/nng.h> #include <nng/supplemental/http/http.h> int nng_http_req_set_method(nng_http_req *req, const char *method); ------------ +---- == DESCRIPTION @@ -40,11 +40,13 @@ This function returns 0 on success, and non-zero otherwise. == ERRORS +[horizontal] `NNG_ENOMEM`:: Insufficient memory to perform the operation. `NNG_ENOTSUP`:: No support for HTTP in the library. == SEE ALSO +[.text-left] <<nng_http_req_alloc.3http#,nng_http_req_alloc(3http)>>, <<nng_http_req_get_method.3http#,nng_http_req_get_method(3http)>>, <<nng.7#,nng(7)>> |
