NNG_HTTP_RES_RESET(3http)
okay so bestie, welcome to the NNG_HTTP_RES_RESET(3http) page from the NNG Reference Manual. Itβs short, itβs sweet, and itβs all about resetting an HTTP response so itβs giving freshly-allocated energy. β¨
πΈ NAME πΈ
nng_http_res_reset β reset HTTP response structure. π
β¨ SYNOPSIS β¨
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
void nng_http_res_reset(nng_http_res *res);
π¦ DESCRIPTION π¦
The nng_http_res_reset() function resets the response res so that it is just as if it had been freshly allocated with nng_http_res_alloc(). Thatβs the whole plot, bestie: hand over your nng_http_res *res, and it comes back with that brand-new nng_http_res_alloc() state. iconic. π
π«Ά RETURN VALUES π«Ά
None. Like, literally no return value β the function is void, so donβt go looking for a result. π«Ά
π ERRORS π
None. No errors to report. Not a single one. π
π₯ SEE ALSO π₯
go check these out too, bestie:
xoxo, your NNG Reference Manual bestie π
β page NNG_HTTP_RES_RESET(3http), dated 2026-01-13. 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