NNG_HTTP_REQ_GET_METHOD(3http)

πŸ“¦ version 1.11, in alpine 3.24

πŸ’– nng_http_req_get_method(3http) πŸ’–

okay so bestie, welcome to the NNG Reference Manual page for nng_http_req_get_method(3http) β€” manual-name fold-in complete, you’re welcome ✨


🌸 NAME 🌸

nng_http_req_get_method β€” return HTTP request method πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

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

const char *nng_http_req_get_method(nng_http_req *req);

πŸ¦‹ DESCRIPTION πŸ¦‹

so nng_http_req_get_method() returns the HTTP method associated with the request req, no cap. The value will be a string, such as "GET" or "POST" β€” iconic little method name behavior fr fr πŸ’–

⭐ RETURN VALUES ⭐

Request method as a string. that’s the whole vibe 🫢

🌈 ERRORS 🌈

None. literally none, bestie β€” clean page, no error drama πŸ’€βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘


xoxo πŸ’‹ β€” this page is from the NNG Reference Manual (source/version vibes) and it’s dated 2026-01-13. mwah! 🫢

πŸ“¦ where this page comes from