aboutsummaryrefslogtreecommitdiff
path: root/docs/libnng.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libnng.adoc')
-rw-r--r--docs/libnng.adoc36
1 files changed, 23 insertions, 13 deletions
diff --git a/docs/libnng.adoc b/docs/libnng.adoc
index b23383cc..9d2a1983 100644
--- a/docs/libnng.adoc
+++ b/docs/libnng.adoc
@@ -2,12 +2,11 @@
:doctype: manpage
:manmanual: nng
:mansource: nng
-:copyright: Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> \
- Copyright 2018 Capitar IT Group BV <info@capitar.com> \
- This software is supplied under the terms of the MIT License, a \
- copy of which should be located in the distribution where this \
- file was obtained (LICENSE.txt). A copy of the license may also \
- be found online at https://opensource.org/licenses/MIT.
+:copyright: Copyright 2018 mailto:info@staysail.tech[Staysail Systems, Inc.] + \
+ Copyright 2018 mailto:info@capitar.com[Capitar IT Group BV] + \
+ {blank} + \
+ This document is supplied under the terms of the \
+ https://opensource.org/licenses/MIT[MIT License].
== NAME
@@ -117,15 +116,21 @@ be associated with an _aio_ at any time.
The following functions are used in the asynchronous model:
|===
+|<<nng_aio_abort#,nng_aio_abort(3)>>|abort asynchronous I/O operation
|<<nng_aio_alloc#,nng_aio_alloc(3)>>|allocate asynchronous I/O context
|<<nng_aio_cancel#,nng_aio_cancel(3)>>|cancel asynchronous I/O operation
|<<nng_aio_free#,nng_aio_free(3)>>|free asynchronous I/O context
+|<<nng_aio_get_input#,nng_aio_get_input(3)>>|get input parameter
|<<nng_aio_get_msg#,nng_aio_get_msg(3)>>|get message from an asynchronous receive
+|<<nng_aio_get_output#,nng_aio_get_output(3)>>|get output result
|<<nng_aio_result#,nng_aio_result(3)>>|return result from asynchronous operation
-|<<nng_aio_stop#,nng_aio_stop(3)>>|stop asynchronous I/O operation
-|<<nng_aio_wait#,nng_aio_wait(3)>>|wait for an asynchronous I/O operation
+|<<nng_aio_set_input#,nng_aio_set_input(3)>>|set input parameter
+|<<nng_aio_set_iov#,nng_aio_set_iov(3)>>|set scatter/gather vector
|<<nng_aio_set_msg#,nng_aio_set_msg(3)>>|set message for an asynchronous send
+|<<nng_aio_set_output#,nng_aio_set_input(3)>>|set output result
|<<nng_aio_set_timeout#,nng_aio_set_timeout(3)>>|set timeout for an asynchronous send
+|<<nng_aio_stop#,nng_aio_stop(3)>>|stop asynchronous I/O operation
+|<<nng_aio_wait#,nng_aio_wait(3)>>|wait for an asynchronous I/O operation
|<<nng_recv_aio#,nng_recv_aio(3)>>|receive a message asynchronously
|<<nng_send_aio#,nng_send_aio(3)>>|send a message asynchronously
|===
@@ -185,6 +190,15 @@ The following functions are used to work with HTTP requests, responses,
and connections.
|===
+| <<nng_http_conn_close#,nng_http_conn_close(3)>>|close HTTP connection
+| <<nng_http_conn_read#,nng_http_conn_read(3)>>|read from HTTP connection
+| <<nng_http_conn_read_all#,nng_http_conn_read_all(3)>>|read all from HTTP connection
+| <<nng_http_conn_read_req#,nng_http_conn_read_req(3)>>|read HTTP request
+| <<nng_http_conn_read_res#,nng_http_conn_read_req(3)>>|read HTTP response
+| <<nng_http_conn_write#,nng_http_conn_write(3)>>|write to HTTP connection
+| <<nng_http_conn_write_all#,nng_http_conn_write_all(3)>>|write all to HTTP connection
+| <<nng_http_conn_write_req#,nng_http_conn_write(3)>>|write HTTP request
+| <<nng_http_conn_write_res#,nng_http_conn_write(3)>>|write HTTP response
| <<nng_http_req_add_header#,nng_http_req_add_header(3)>>|add HTTP request header
| <<nng_http_req_alloc#,nng_http_req_alloc(3)>>|allocate HTTP request structure
| <<nng_http_req_copy_data#,nng_http_req_copy_data(3)>>|copy HTTP request body
@@ -243,8 +257,4 @@ with TLS support.
== COPYRIGHT
-Copyright 2018 mailto:info@staysail.tech[Staysail Systems, Inc.] +
-Copyright 2018 mailto:info@capitar.com[Capitar IT Group BV]
-
-This document is supplied under the terms of the
-https://opensource.org/licenses/MIT[MIT License].
+{copyright}