System.Curl.curl_http_version

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

curl_http_version = (
CURL_HTTP_VERSION_NONE, { setting this means we don't care, and that we'd
like the library to choose the best possible
for us! }
CURL_HTTP_VERSION_1_0,  { please use HTTP 1.0 in the request }
CURL_HTTP_VERSION_1_1,  { please use HTTP 1.1 in the request }
CURL_HTTP_VERSION_2_0,  { please use HTTP 2.0 in the request }
CURL_HTTP_VERSION_2TLS, { use version 2 for HTTPS, version 1.1 for HTTP }
CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE,  { please use HTTP 2 without HTTP/1.1
Upgrade }
CURL_HTTP_VERSION_3 = 30, { Use HTTP/3, fallback to HTTP/2 or HTTP/1 if
needed. For HTTPS only. For HTTP, this option
makes libcurl return error. }
CURL_HTTP_VERSION_3ONLY = 31, { Use HTTP/3 without fallback. For HTTPS
only. For HTTP, this makes libcurl
return error. }
CURL_HTTP_VERSION_LAST  { *ILLEGAL* http version }
);

C++

enum DECLSPEC_DENUM curl_http_version : unsigned int { CURL_HTTP_VERSION_NONE, CURL_HTTP_VERSION_1_0, CURL_HTTP_VERSION_1_1, CURL_HTTP_VERSION_2_0, CURL_HTTP_VERSION_2TLS, CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, CURL_HTTP_VERSION_3 = 30, CURL_HTTP_VERSION_3ONLY, CURL_HTTP_VERSION_LAST };

Properties

Type Visibility Source Unit Parent
enum public
System.Curl.pas
System.Curl.hpp
System.Curl System.Curl

Description

Embarcadero Technologies does not currently have any additional information.