Skip to content

libcURL.EasyHandle.HTTPVersion

Andrew Lambert edited this page Sep 15, 2015 · 11 revisions

#libcURL.EasyHandle.HTTPVersion

##Property Declaration

 Dim HTTPVersion As Integer

##Remarks Gets and sets the version of HTTP to be used. Pass 1 for HTTP/1.0, 2 for HTTP/1.1, 3 for HTTP/2.0, or 0 if libcURL is free to decide.

Note that HTTP/2.0 is not available except in very recent experimental versions of libcurl. If HTTP/2.0 is not supported then setting this property to HTTP/2.0 will raise an exception with libcURL.Errors.UNSUPPORTED_PROTOCOL(1) as the error number.

##See also

Clone this wiki locally