aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_res_set_data.3http.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_http_res_set_data.3http.adoc')
-rw-r--r--docs/man/nng_http_res_set_data.3http.adoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/man/nng_http_res_set_data.3http.adoc b/docs/man/nng_http_res_set_data.3http.adoc
index 8202ec61..7c4c06bc 100644
--- a/docs/man/nng_http_res_set_data.3http.adoc
+++ b/docs/man/nng_http_res_set_data.3http.adoc
@@ -28,7 +28,7 @@ int nng_http_res_set_data(nng_http_res *res, const void *body, size_t size);
The `nng_http_res_set_data()` sets the HTTP body associated with
the response _res_ to _body_, and the size of the body to _size_.
This body data will be automatically sent with the response when it
-is sent using `<<nng_http_conn_write_res.3http#,nng_http_conn_write_res()>>`.
+is sent using xref:nng_http_conn_write_res.3http.adoc[`nng_http_conn_write_res()`].
This also updates the relevant `Content-Length` header of _res_.
@@ -40,7 +40,7 @@ until the _res_ is deallocated.
TIP: To have a local copy allocated with _res_ that will be automatically
deallocated when _res_ is freed,
-see `<<nng_http_res_copy_data.3http#,nng_http_res_copy_data()>>`.
+see xref:nng_http_res_copy_data.3http.adoc[`nng_http_res_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_res.3http#,nng_http_conn_write_res(3http)>>,
-<<nng_http_res_alloc.3http#,nng_http_res_alloc(3http)>>,
-<<nng_http_res_copy_data.3http#,nng_http_res_copy_data(3http)>>,
-<<nng_http_res_set_header.3http#,nng_http_res_set_header(3http)>>,
-<<nng.7#,nng(7)>>
+xref:nng_http_conn_write_res.3http.adoc[nng_http_conn_write_res(3http)],
+xref:nng_http_res_alloc.3http.adoc[nng_http_res_alloc(3http)],
+xref:nng_http_res_copy_data.3http.adoc[nng_http_res_copy_data(3http)],
+xref:nng_http_res_set_header.3http.adoc[nng_http_res_set_header(3http)],
+xref:nng.7.adoc[nng(7)]