API:REST.Client.TRESTClient.SynchronizedEvents
Delphi
property SynchronizedEvents: Boolean read FSynchronizedEvents write SetSynchronizedEvents default 1;
C++
__property SynchronizedEvents = {default=1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTClient |
Description
Indicates whether events (such as OnHTTPProtocolError) should run in the context of the main thread (SynchronizedEvents is True) or in the context of an arbitrary thread that you create with TCustomRESTRequest.ExecuteAsync (SynchronizedEvents is False).
{{#multireplace:REST.Client.TRESTClient.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTClient.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTClient.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Indicates whether events (such as OnHTTPProtocolError) should run in the context of the main thread (SynchronizedEvents is True) or in the context of an arbitrary thread that you create with TCustomRESTRequest.ExecuteAsync (SynchronizedEvents is False).