Object with constants to be used with the HTTP_VERSION option.
HTTP_VERSION
CURL_HTTP_VERSION_NONE becomes CurlHttpVersion.None and CURL_HTTP_VERSION_1_0 becomes CurlHttpVersion.V1_0
CURL_HTTP_VERSION_NONE
CurlHttpVersion.None
CURL_HTTP_VERSION_1_0
CurlHttpVersion.V1_0
Setting this means we don't care, and that we'd like the library to choose the best possible for us!
Use HTTP 2 without HTTP/1.1 Upgrade
Use version 2 for HTTPS, version 1.1 for HTTP
Generated using TypeDoc
Object with constants to be used with the
HTTP_VERSION
option.CURL_HTTP_VERSION_NONE
becomesCurlHttpVersion.None
andCURL_HTTP_VERSION_1_0
becomesCurlHttpVersion.V1_0