From 3a2af394a7d94ac5f924aaea6cbad825a9b05d75 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 18 Mar 2018 10:55:52 -0700 Subject: Minor markup fixes. Mostly this eliminates some cases of extra backticks. --- docs/man/nng_http_handler_alloc.3http.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/man/nng_http_handler_alloc.3http.adoc') 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 <> structure. That structure will be passed with the following input values (retrieved with <>): - 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 <> or @@ -146,4 +146,5 @@ This function returns 0 on success, and non-zero otherwise. <>, <>, <>, +<>, <> -- cgit v1.2.3-70-g09d2