diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-29 17:03:51 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-29 18:14:55 -0700 |
| commit | 0ddaee41ec753805fa12eeabd679870802528dac (patch) | |
| tree | 3418859f4f22e9857b5ae979b3bc4eb53fd70035 /docs/man/nng_http_client_set_tls.3http.adoc | |
| parent | 33dc5d611f578ace9833a80dc006a34b09da18af (diff) | |
| download | nng-0ddaee41ec753805fa12eeabd679870802528dac.tar.gz nng-0ddaee41ec753805fa12eeabd679870802528dac.tar.bz2 nng-0ddaee41ec753805fa12eeabd679870802528dac.zip | |
fixes #495 SEE ALSO should use [align=left]
fixes #494 ERRORS section should use [horizontal]
These changes address some basic formatting consistency things,
and ultimately (when combined with other tooling changes that are
not part of this repo) lead to vastly improved layout in the
printed documentation.
While here we removed trailing whitespace, and did certain other
minor markup tweaks.
Diffstat (limited to 'docs/man/nng_http_client_set_tls.3http.adoc')
| -rw-r--r-- | docs/man/nng_http_client_set_tls.3http.adoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/man/nng_http_client_set_tls.3http.adoc b/docs/man/nng_http_client_set_tls.3http.adoc index 5ed8bda8..0a00d138 100644 --- a/docs/man/nng_http_client_set_tls.3http.adoc +++ b/docs/man/nng_http_client_set_tls.3http.adoc @@ -16,12 +16,12 @@ nng_http_client_set_tls - set HTTP client TLS configuration == SYNOPSIS [source, c] ------------ +---- #include <nng/nng.h> #include <nng/supplemental/http/http.h> int nng_http_client_set_tls(nng_http_client *client, nng_tls_config *cfg); ------------ +---- == DESCRIPTION @@ -42,11 +42,13 @@ This function returns 0 on success, and non-zero otherwise. == ERRORS +[horizontal] `NNG_ENOMEM`:: Insufficient free memory exists. `NNG_ENOTSUP`:: Either HTTP or TLS not supported. == SEE ALSO +[.text-left] <<nng_http_client_alloc.3http#,nng_http_client_alloc(3http)>>, <<nng_http_client_connect.3http#,nng_http_client_connect(3http)>>, <<nng_http_client_get_tls.3http#,nng_http_client_get_tls(3http)>>, |
