libcURL.EasyHandle.HTTPVersion - charonn0/RB-libcURL GitHub Wiki
libcURL.EasyHandle.HTTPVersion
Property Declaration
Dim HTTPVersion As libcURL.HTTPVersion
Remarks
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.
See also
- CURLOPT_HTTP_VERSION in the libcURL documentation.