NNG_HTTP_...T_VERSION(3http)
π
nng_http_res_get_version β return HTTP response protocol version
okay so we're in the NNG Reference Manual, bestie, and today's main character is nng_http_res_get_version (header stans may know the page as NNG_HTTP_...T_VERSION(3http)). She's lowkey a one-job icon: hand you the HTTP protocol version string. π«Ά
β¨ NAME β¨
nng_http_res_get_version β return HTTP response protocol version
πΈ SYNOPSIS πΈ
#include <nng/nng.h>
#include <nng/supplemental/http/http.h>
const char *nng_http_res_get_version(nng_http_res *res);
π¦ DESCRIPTION π¦
The nng_http_res_get_version() returns a string representing the HTTP protocol version associated with the request res, such as "HTTP/1.1". That's the whole serve, no notes. β¨
π RETURN VALUES π
Response version as a string. π
π¨ ERRORS π¨
None. literally none, not a single one. no cap. π
π SEE ALSO π
bye bestie! This page is from the NNG Reference Manual, with a date of 2026-01-13, and it's filed under NNG_HTTP_...T_VERSION(3http). mwah π
π
π¦ 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