diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-18 10:55:52 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-18 10:55:52 -0700 |
| commit | 3a2af394a7d94ac5f924aaea6cbad825a9b05d75 (patch) | |
| tree | a9b16457ebfcde3809f84b902fff8da249bd3a8a /docs/man/nng_http_handler_alloc.3http.adoc | |
| parent | d759d4726ba8ac0fe8f8711a4015de717eb8a4a2 (diff) | |
| download | nng-3a2af394a7d94ac5f924aaea6cbad825a9b05d75.tar.gz nng-3a2af394a7d94ac5f924aaea6cbad825a9b05d75.tar.bz2 nng-3a2af394a7d94ac5f924aaea6cbad825a9b05d75.zip | |
Minor markup fixes.
Mostly this eliminates some cases of extra backticks.
Diffstat (limited to 'docs/man/nng_http_handler_alloc.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_handler_alloc.3http.adoc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/man/nng_http_handler_alloc.3http.adoc b/docs/man/nng_http_handler_alloc.3http.adoc index e1238b8f..12c6043a 100644 --- a/docs/man/nng_http_handler_alloc.3http.adoc +++ b/docs/man/nng_http_handler_alloc.3http.adoc @@ -62,13 +62,13 @@ rather than just a single element. The generic (first) form of this creates a handler that uses a user-supplied function to process HTTP requests. This function uses the asynchronous I/O framework. -The function takes a pointer to an `nng_aio` structure. +The function takes a pointer to an <<nng_aio.5#,`nng_aio`>> structure. That structure will be passed with the following input values (retrieved with <<nng_aio_get_input.3#,`nng_aio_get_input()`>>): - 0: ``nng_http_req *`` __request__:: The client's HTTP request. - 1: ``nng_http_handler *``__handler__:: Pointer to the handler object. - 2: ``nng_http_conn *``__conn__:: The underlying HTTP connection. + 0: `nng_http_req *` __request__:: The client's HTTP request. + 1: `nng_http_handler *` __handler__:: Pointer to the handler object. + 2: `nng_http_conn *` __conn__:: The underlying HTTP connection. The handler should create an `nng_http_res *` response (such as via <<nng_http_res_alloc.3http#,`nng_http_res_alloc()`>> or @@ -146,4 +146,5 @@ This function returns 0 on success, and non-zero otherwise. <<nng_http_res_alloc_error.3http#,nng_http_res_alloc_error(3http)>>, <<nng_http_server_add_handler.3http#,nng_http_server_add_handler(3http)>>, <<nng_strerror.3#,nng_strerror(3)>>, +<<nng_aio.5#,nng_aio(5)>>, <<nng.7#,nng(7)>> |
