aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_req_set_data.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-07-06 13:33:55 -0700
committerGarrett D'Amore <garrett@damore.org>2019-07-06 13:33:55 -0700
commitdcb962389c5f71bc25cdb84f3363eed95bad9bdd (patch)
tree2a94b72596df4ff76081eb74632af0ce273517b1 /docs/man/nng_http_req_set_data.3http.adoc
parent7b6e73f23104a50b898da1065cf9d3bf8b6a3bca (diff)
downloadnng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.tar.gz
nng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.tar.bz2
nng-dcb962389c5f71bc25cdb84f3363eed95bad9bdd.zip
fixes #861 Man pages need to use .adoc suffix
Diffstat (limited to 'docs/man/nng_http_req_set_data.3http.adoc')
-rw-r--r--docs/man/nng_http_req_set_data.3http.adoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/man/nng_http_req_set_data.3http.adoc b/docs/man/nng_http_req_set_data.3http.adoc
index 2e1631ae..583d7a58 100644
--- a/docs/man/nng_http_req_set_data.3http.adoc
+++ b/docs/man/nng_http_req_set_data.3http.adoc
@@ -28,7 +28,7 @@ int nng_http_req_set_data(nng_http_req *req, const void *body, size_t size);
The `nng_http_req_set_data()` sets the HTTP body associated with
the request _req_ to _body_, and the size of the body to _size_.
This body data will be automatically sent with the request when it
-is sent using `<<nng_http_conn_write_req.3http#,nng_http_conn_write_req()>>`.
+is sent using xref:nng_http_conn_write_req.3http.adoc[`nng_http_conn_write_req()`].
This also updates the relevant `Content-Length` header of _req_.
@@ -40,7 +40,7 @@ until the _req_ is deallocated.
TIP: To have a local copy allocated with _req_ that will be automatically
deallocated when _req_ is freed,
-see `<<nng_http_req_copy_data.3http#,nng_http_req_copy_data()>>`.
+see xref:nng_http_req_copy_data.3http.adoc[`nng_http_req_copy_data()`].
TIP: It is a good idea to also set the `Content-Type` header.
@@ -57,8 +57,8 @@ This function returns 0 on success, and non-zero otherwise.
== SEE ALSO
[.text-left]
-<<nng_http_conn_write_req.3http#,nng_http_conn_write_req(3http)>>,
-<<nng_http_req_alloc.3http#,nng_http_req_alloc(3http)>>,
-<<nng_http_req_copy_data.3http#,nng_http_req_copy_data(3http)>>,
-<<nng_http_req_set_header.3http#,nng_http_req_set_header(3http)>>,
-<<nng.7#,nng(7)>>
+xref:nng_http_conn_write_req.3http.adoc[nng_http_conn_write_req(3http)],
+xref:nng_http_req_alloc.3http.adoc[nng_http_req_alloc(3http)],
+xref:nng_http_req_copy_data.3http.adoc[nng_http_req_copy_data(3http)],
+xref:nng_http_req_set_header.3http.adoc[nng_http_req_set_header(3http)],
+xref:nng.7.adoc[nng(7)]