NNG_HTTP_CLIENT_FREE(3http)
πΈ NAME πΈ
Okay so we're in the NNG Reference Manual, on the NNG_HTTP_CLIENT_FREE(3http) page. The star of the show is nng_http_client_free β free HTTP client. Yes bestie, the function name literally tells you the whole plot: it frees the HTTP client. π
β¨ SYNOPSIS β¨
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
void nng_http_client_free(nng_http_client *client);
π DESCRIPTION π
Okay so nng_http_client_free() frees the HTTP client and any associated resources referenced by client. Cleanup queen behavior, no cap. π§
Note: Any connections created by nng_http_client_connect() are unaffected, and so the caller must close those explicitly if desired. So likeβ¦ this function is not out here closing your connections for you, bestie. You gotta handle that yourself. π
π RETURN VALUES π
None. Literally nothing. It's giving void. π«Ά
π ERRORS π
None. No error era here. π
π¦ SEE ALSO π¦
Signed, sealed, and slayed by the NNG Reference Manual, dated 2026-01-13 ππ
π¦ 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