REST.Client.TRESTClient.ConnectTimeout

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConnectTimeout;

C++

__property ConnectTimeout = {default=30000};

Properties

Type Visibility Source Unit Parent
property published
REST.Client.pas
REST.Client.hpp
REST.Client TRESTClient

Description

The maximum time to wait before the connection to endpoint times out.

  • The value is in milliseconds.
  • The default value is 30 seconds.
  • The special values are:
    • - 1 - Infinite timeout.
    • 0 - Platform specific default timeout.
Note: Supported by Windows, Linux, Android platforms.


See Also