CurlHttpVersion

These enums are for use with the CURLOPT_HTTP_VERSION option.

Values

ValueMeaning
none

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

v1_0

please use HTTP 1.0 in the request

v1_1

please use HTTP 1.1 in the request

last

*ILLEGAL* http version

Meta