REST.Client.TRESTClient.SynchronizedEvents

From RAD Studio API Documentation
Jump to: navigation, search

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).

REST.Client.TRESTClient.SynchronizedEvents inherits from REST.Client.TCustomRESTClient.SynchronizedEvents. All content below this line refers to REST.Client.TCustomRESTClient.SynchronizedEvents. 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).

See Also