From 7b8a470bc7c5209b1244fe22a89effd767736560 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 6 Feb 2018 16:08:21 -0800 Subject: man page updates for 0.2.0 --- man/v0.2.0/libnng.html | 124 ++++- man/v0.2.0/nng_aio_set_input.html | 4 +- man/v0.2.0/nng_aio_set_output.html | 623 +++++++++++++++++++++++ man/v0.2.0/nng_http_conn_write_res.html | 20 +- man/v0.2.0/nng_http_handler_alloc.html | 737 ++++++++++++++++++++++++++++ man/v0.2.0/nng_http_handler_free.html | 607 +++++++++++++++++++++++ man/v0.2.0/nng_http_handler_get_data.html | 597 ++++++++++++++++++++++ man/v0.2.0/nng_http_handler_set_data.html | 612 +++++++++++++++++++++++ man/v0.2.0/nng_http_handler_set_host.html | 636 ++++++++++++++++++++++++ man/v0.2.0/nng_http_handler_set_method.html | 638 ++++++++++++++++++++++++ man/v0.2.0/nng_http_handler_set_tree.html | 618 +++++++++++++++++++++++ man/v0.2.0/nng_http_hijack.html | 647 ++++++++++++++++++++++++ man/v0.2.0/nng_http_server_add_handler.html | 621 +++++++++++++++++++++++ man/v0.2.0/nng_http_server_del_handler.html | 608 +++++++++++++++++++++++ man/v0.2.0/nng_http_server_get_tls.html | 610 +++++++++++++++++++++++ man/v0.2.0/nng_http_server_hold.html | 633 ++++++++++++++++++++++++ man/v0.2.0/nng_http_server_release.html | 615 +++++++++++++++++++++++ man/v0.2.0/nng_http_server_set_tls.html | 644 ++++++++++++++++++++++++ man/v0.2.0/nng_http_server_start.html | 615 +++++++++++++++++++++++ man/v0.2.0/nng_http_server_stop.html | 595 ++++++++++++++++++++++ 20 files changed, 10798 insertions(+), 6 deletions(-) create mode 100644 man/v0.2.0/nng_aio_set_output.html create mode 100644 man/v0.2.0/nng_http_handler_alloc.html create mode 100644 man/v0.2.0/nng_http_handler_free.html create mode 100644 man/v0.2.0/nng_http_handler_get_data.html create mode 100644 man/v0.2.0/nng_http_handler_set_data.html create mode 100644 man/v0.2.0/nng_http_handler_set_host.html create mode 100644 man/v0.2.0/nng_http_handler_set_method.html create mode 100644 man/v0.2.0/nng_http_handler_set_tree.html create mode 100644 man/v0.2.0/nng_http_hijack.html create mode 100644 man/v0.2.0/nng_http_server_add_handler.html create mode 100644 man/v0.2.0/nng_http_server_del_handler.html create mode 100644 man/v0.2.0/nng_http_server_get_tls.html create mode 100644 man/v0.2.0/nng_http_server_hold.html create mode 100644 man/v0.2.0/nng_http_server_release.html create mode 100644 man/v0.2.0/nng_http_server_set_tls.html create mode 100644 man/v0.2.0/nng_http_server_start.html create mode 100644 man/v0.2.0/nng_http_server_stop.html diff --git a/man/v0.2.0/libnng.html b/man/v0.2.0/libnng.html index 984d7762..7922e644 100644 --- a/man/v0.2.0/libnng.html +++ b/man/v0.2.0/libnng.html @@ -539,7 +539,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b

SYNOPSIS

-

cc ['flags'] 'files' -lnng ['libraries']

+

cc [flags] files -lnng [libraries]

@@ -815,6 +815,10 @@ be associated with an aio at any time.

return number of bytes transferred

+

nng_aio_finish(3)

+

finish an asynchronous I/O operation

+ +

nng_aio_free(3)

free asynchronous I/O handle

@@ -847,6 +851,10 @@ be associated with an aio at any time.

set message for an asynchronous send

+

nng_aio_set_output(3)

+

set output result

+ +

nng_aio_set_timeout(3)

set asynchronous I/O timeout

@@ -1160,6 +1168,118 @@ and connections.

+
+

HTTP Client Functions

+
+

These functions are intended for use with HTTP client applications.

+
+ ++++ + + + + + + + + + + + + + + + + + + + + + + +

nng_http_client_alloc(3)

allocate HTTP client

nng_http_client_connect(3)

establish HTTP client connection

nng_http_client_free(3)

free HTTP client

nng_http_client_get_tls(3)

get HTTP client TLS configuration

nng_http_client_set_tls(3)

set HTTP client TLS configuration

+
+
+

HTTP Server Functions

+
+

These functions are intended for use with HTTP server applications.

+
+ ++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

nng_http_handler_alloc(3)

allocate HTTP server handler

nng_http_handler_free(3)

free HTTP server handler

nng_http_handler_get_data(3)

return extra data for HTTP handler

nng_http_handler_set_data(3)

set extra data for HTTP handler

nng_http_handler_set_host(3)

set host for HTTP handler

nng_http_handler_set_method(3)

set HTTP handler method

nng_http_handler_set_tree(3)

set HTTP handler to match trees

nng_http_hijack(3)

hijack HTTP server connection

nng_http_server_add_handler(3)

add HTTP server handler

nng_http_server_del_handler(3)

delete HTTP server handler

nng_http_server_get_tls(3)

get HTTP server TLS configuration

nng_http_server_get_tls(3)

get and hold HTTP server instance

nng_http_server_get_tls(3)

release HTTP server instance

nng_http_server_set_tls(3)

set HTTP server TLS configuration

nng_http_server_start(3)

start HTTP server

nng_http_server_stop(3)

stop HTTP server

+

TLS Configuration Objects

@@ -1247,7 +1367,7 @@ This document is supplied under the terms of the
diff --git a/man/v0.2.0/nng_aio_set_input.html b/man/v0.2.0/nng_aio_set_input.html index 87770ee8..56198cdf 100644 --- a/man/v0.2.0/nng_aio_set_input.html +++ b/man/v0.2.0/nng_aio_set_input.html @@ -563,7 +563,7 @@ increase in the future.)

If the index does not correspond to a defined input for the operation, then this function will have no effect. Note that attempts to set -parameters with an index greater than three (3) will simply be ignored. +parameters with an index greater than three (3) will simply be ignored. @@ -630,7 +630,7 @@ This document is supplied under the terms of the
diff --git a/man/v0.2.0/nng_aio_set_output.html b/man/v0.2.0/nng_aio_set_output.html new file mode 100644 index 00000000..8fe8f92b --- /dev/null +++ b/man/v0.2.0/nng_aio_set_output.html @@ -0,0 +1,623 @@ +--- +version: 0.2.0 +layout: default +--- + + + + + + + + +nng_aio_set_output(3) + + + + + + + +
+
+

SYNOPSIS

+
+
+
+
#include <nng/nng.h>
+
+void nng_aio_set_output(nng_aio *aio, unsigned int index, void *result);
+
+
+
+
+
+

DESCRIPTION

+
+
+

The nng_aio_set_output() function sets the output result at index +to result for the asynchronous operation associated with aio.

+
+
+

The type and semantics of output results are determined by specific +operations; the operation must supply appropriate output results when +the operation completes successfully.

+
+
+

The valid values of index range from zero (0) to three (3), as no operation +currently defined can return more than four results. (This limit could +increase in the future.)

+
+
+ + + + + +
+ + +Note that attempts to set results with an index greater than +three (3) will be ignored. +
+
+
+

An output result set with this function may be retrieved later with +the nng_aio_get_output(3) function.

+
+
+
+
+

RETURN VALUES

+
+
+

None.

+
+
+
+
+

ERRORS

+
+
+

None.

+
+
+
+ +
+ +
+
+

Copyright 2018 Staysail Systems, Inc.
+Copyright 2018 Capitar IT Group BV
+
+This document is supplied under the terms of the MIT License.

+
+
+
+
+ + + diff --git a/man/v0.2.0/nng_http_conn_write_res.html b/man/v0.2.0/nng_http_conn_write_res.html index 093736c2..906e803e 100644 --- a/man/v0.2.0/nng_http_conn_write_res.html +++ b/man/v0.2.0/nng_http_conn_write_res.html @@ -512,7 +512,11 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
Table of Contents