NNG_HTTP_REQ_FREE(3http)

πŸ“¦ version 1.11, in alpine 3.24

✨ NAME ✨

okay so bestie, we're in the NNG Reference Manual, 3http chapter, and this page is about nng_http_req_free β€” free HTTP request structure πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <nng/nng.h>
#include <nng/supplemental/http/http.h>

void nng_http_req_free(nng_http_req *req);

πŸ’… DESCRIPTION πŸ’…

The nng_http_req_free() function deallocates the HTTP request structure req entirely. like, poof, the whole request structure is gone ✨

πŸ’‘ Tip: instead of freeing and reallocating request structures, it's possible to reuse req with nng_http_req_reset() β€” lowkey the recycling glow-up πŸŽ€

🌸 RETURN VALUES 🌸

None. no return value, no drama 🫢

πŸŽ€ ERRORS πŸŽ€

None. zero errors listed, periodt πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’– later bestie β€” this was the NNG Reference Manual, dated 2026-01-13, page NNG_HTTP_REQ_FREE(3http) β€” stay iconic 🌈

πŸ“¦ where this page comes from