-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.HTTPVersion
Andrew Lambert edited this page Aug 5, 2015
·
11 revisions
#libcURL.EasyHandle.HTTPVersion
##Property Declaration
Dim HTTPVersion As Integer##Notes
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 CURLE_UNSUPPORTED_PROTOCOL(1) as the error number.
##See also
- CURLOPT_HTTP_VERSION in the libcURL documentation.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.