NNG_HTTP_REQ_RESET(3http)
π NNG_HTTP_REQ_RESET π
okay so bestie, welcome to the NNG Reference Manual (3http girlies rise up β¨). this one's about nng_http_req_reset and it's honestly such a clean little glow-up function, no cap.
β¨ NAME β¨
nng_http_req_reset β reset HTTP request structure π
πΈ SYNOPSIS πΈ
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
void nng_http_req_reset(nng_http_req *req);
π¦ DESCRIPTION π¦
The nng_http_req_reset() function resets the request req so that it is just as if it had been freshly allocated with nng_http_req_alloc() with a NULL URL. like, full factory reset energy β it's giving brand new, untouched, no baggage π
Note π«Ά β Before using this with an HTTP operation, the URI must be set using nng_http_req_set_uri(). do NOT forget this part, bestie, this is the whole vibe check okay π₯
β RETURN VALUES β
None. literally nothing, it's a void function, she returns void and serves looks, periodt π
π ERRORS π
None. no errors, no drama, no tears, we love a low-maintenance icon π
π SEE ALSO π
and that's the whole page babes π§ β shoutout to the NNG Reference Manual, dated 2026-01-13, and this iconic NNG_HTTP_REQ_RESET(3http) header. go reset something and slay ππΈ
π¦ 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