aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_http_hijack.3http.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-29 17:03:51 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-29 18:14:55 -0700
commit0ddaee41ec753805fa12eeabd679870802528dac (patch)
tree3418859f4f22e9857b5ae979b3bc4eb53fd70035 /docs/man/nng_http_hijack.3http.adoc
parent33dc5d611f578ace9833a80dc006a34b09da18af (diff)
downloadnng-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_hijack.3http.adoc')
-rw-r--r--docs/man/nng_http_hijack.3http.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/man/nng_http_hijack.3http.adoc b/docs/man/nng_http_hijack.3http.adoc
index d10bacfc..1fd45f48 100644
--- a/docs/man/nng_http_hijack.3http.adoc
+++ b/docs/man/nng_http_hijack.3http.adoc
@@ -38,7 +38,7 @@ This function is most useful when called from a handler function.
NOTE: It is the responsibility of the caller to dispose of the underlying
connection when it is no longer needed.
Furthermore, the HTTP server will no longer send any responses to the
-hijacked connection, so the caller should do that as well if appropriate.
+hijacked connection, so the caller should do that as well if appropriate.
(See `<<nng_http_conn_write_res.3http#,nng_http_conn_write_res()>>`.)
TIP: This function is intended to facilitate uses cases that involve changing
@@ -51,12 +51,14 @@ None.
== ERRORS
+[horizontal]
`NNG_ECLOSED`:: The connection was closed.
`NNG_ENOMEM`:: Insufficient free memory exists.
`NNG_ENOTSUP`:: HTTP not supported.
== SEE ALSO
+[.text-left]
<<nng_strerror.3#,nng_strerror(3)>>,
<<nng_http_conn_write_res.3http#,nng_http_conn_write_res(3http)>>,
<<nng_http_handler_alloc.3http#,nng_http_handler_alloc(3http)>>,