System.Net.HttpClientComponent.TNetHTTPClient.PreemptiveAuthentication
Delphi
property PreemptiveAuthentication: Boolean read GetPreemptiveAuthentication write SetPreemptiveAuthentication default False;
C++
__property bool PreemptiveAuthentication = {read=GetPreemptiveAuthentication, write=SetPreemptiveAuthentication, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPClient |
Description
Property controls preemptive authentication. When set to True, then basic authentication will be provided before the server gives an unauthorized response.