-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.HTTPVersion
#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.
If libcURL was built without HTTP support then setting this option will raise an exception with libcURL.Errors.UNKNOWN_OPTION (48) as the error number.
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
- 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.