Enumeration CurlHttpVersion

Object with constants to be used with the HTTP_VERSION option.

CURL_HTTP_VERSION_NONE becomes CurlHttpVersion.None and CURL_HTTP_VERSION_1_0 becomes CurlHttpVersion.V1_0

Enumeration Members

Enumeration Members

None: 0

Setting this means we don't care, and that we'd like the library to choose the best possible for us!

V1_0: 1
V1_1: 2
V2_0: 3
V2PriorKnowledge: 5

Use HTTP 2 without HTTP/1.1 Upgrade

V2Tls: 4

Use version 2 for HTTPS, version 1.1 for HTTP

v3: 6