System.Net.HttpClient.THTTPClient.ProtocolVersion

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ProtocolVersion: THTTPProtocolVersion read FProtocolVersion write FProtocolVersion default THTTPProtocolVersion.UNKNOWN_HTTP;

C++

__property THTTPProtocolVersion ProtocolVersion = {read=FProtocolVersion, write=FProtocolVersion, default=0};

Properties

Type Visibility Source Unit Parent
property public
System.Net.HttpClient.pas
System.Net.HTTPClient.hpp
System.Net.HttpClient THTTPClient

Description

Specifies HTTP protocol version to use. If the specified version is not supported by the server, then the client will fall back to a lower version.

The default value is UNKNOWN_HTTP, which means using the default OS version, which most often is HTTP_1_1.

See Also