NNG_HTTP_CONN_CLOSE(3http)

πŸ“¦ version 1.11, in alpine 3.24

✨ 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