-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.HTTPVersion
Andrew Lambert edited this page Nov 26, 2022
·
11 revisions
libcURL.EasyHandle.HTTPVersion
Dim HTTPVersion As libcURL.HTTPVersion
Gets and sets the version of HTTP to be used. Pass a member of the HTTPVersion enum.
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 is not available except in very recent versions of libcurl. If HTTP/2 is not built-in then setting this property to HTTP/2 will raise an exception with libcURL.Errors.UNSUPPORTED_PROTOCOL
(1) as the error number.
- CURLOPT_HTTP_VERSION in the libcURL documentation.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.