System.Net.HttpClientComponent.TNetHTTPClient.ProtocolVersion
Delphi
property ProtocolVersion: THTTPProtocolVersion read GetProtocolVersion
C++
__property System::Net::Httpclient::THTTPProtocolVersion ProtocolVersion = {read=GetProtocolVersion, write=SetProtocolVersion, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPClient |
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.