System.Net.HttpClientComponent.TNetHTTPRequest.Asynchronous
Delphi
property Asynchronous: Boolean read FAsynchronous write FAsynchronous;
C++
__property bool Asynchronous = {read=FAsynchronous, write=FAsynchronous, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPRequest |
Description
Determines whether executed requests are asynchronous (True
) or synchronous (False
).
Synchronous requests stop the execution of your application until the client receives the response from the server or until an error occurs.
Asynchronous requests do not stop the execution of your applications. For example, users may interact with your application while the request is in progress, and you may perform several requests in parallel.