diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/supplemental/http/http.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nng/supplemental/http/http.h b/include/nng/supplemental/http/http.h index fa81f984..bb163949 100644 --- a/include/nng/supplemental/http/http.h +++ b/include/nng/supplemental/http/http.h @@ -87,6 +87,11 @@ enum nng_http_status { NNG_HTTP_STATUS_NETWORK_AUTH_REQUIRED = 511, }; +#define NNG_HTTP_VERSION_1_0 "HTTP/1.0" +#define NNG_HTTP_VERSION_1_1 "HTTP/1.1" +#define NNG_HTTP_VERSION_2 "HTTP/2" +#define NNG_HTTP_VERSION_3 "HTTP/3" + // nng_http_req represents an HTTP request. typedef struct nng_http_req nng_http_req; |
