namespace CurlSharp.Enums { /// /// Contains values used to specify the HTTP version level when using /// the option in a call /// to /// public enum CurlHttpVersion { /// /// We don't care about what version the library uses. libcurl will /// use whatever it thinks fit. /// None = 0, /// /// Enforce HTTP 1.0 requests. /// Http1_0 = 1, /// /// Enforce HTTP 1.1 requests. /// Http1_1 = 2, /// /// Enforce HTTP 2 requests. /// Http2_0 = 3, /// /// Enforce version 2 for HTTPS, version 1.1 for HTTP. /// Http2_Tls = 4, /// /// Enforce HTTP 2 without HTTP/1.1 upgrade. /// Http2_PriorKnowledge = 5, /// /// Last entry in enumeration; do not use in application code. /// Last = 6 } }