NNG_HTTP_CONN_CLOSE(3http)
β¨ NNG_HTTP_CONN_CLOSE(3http) β¨
okay so this is the manual page for nng_http_conn_close from the NNG Reference Manual β yes bestie, the NNG one, we're in networking land today π
πΈ NAME πΈ
nng_http_conn_close β closes an HTTP connection, that's literally the whole job π«Ά
π¦ SYNOPSIS π¦
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
void nng_http_conn_close(nng_http_conn *conn);
like, include both headers, call the function, boom. that's the vibe β¨
π DESCRIPTION π
The nng_http_conn_close() function closes the HTTP connection you hand it in conn β and it doesn't just wave goodbye, it also disposes of any underlying file descriptors or related resources. it's giving responsible queen energy, honestly π
π¨ read this part, bestie, fr fr: once this function has been called, you may not make any further access to the conn structure. not a peek, not a vibe check, nothing. it's gone, it's over, it has left the chat π
π RETURN VALUES π
None. nothing. void. no return value to obsess over π
π ERRORS π
None. zero errors, not a single one, she simply doesn't do that π§
β SEE ALSO β
and that's the whole page, bestie, you ate that π this cutie was brought to you by the NNG Reference Manual, dated 2026-01-13, and the page is NNG_HTTP_CONN_CLOSE(3http) β periodt π
β¨
π¦ where this page comes from
- alpine 3.24: nng-doc 1.11-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms