Skip to content

libcURL.HTTPVersion

Andrew Lambert edited this page May 5, 2017 · 6 revisions

libcURL.HTTPVersion

Enum Declaration

Protected Enum HTTPVersion
 None=0
 HTTP1_0=1
 HTTP1_1=2
 HTTP2=3

Remarks

The HTTPVersion controls which version(s) of HTTP to use .

HTTPVersion Comment
None Default, currently this is equivalent to HTTP1_1
HTTP1_0 Use HTTP version 1.0.
HTTP1_1 Use HTTP version 1.1.
HTTP2 Use HTTP version 2 if supported by the server, otherwise fallback to HTTP1_1.

See also

Clone this wiki locally