Set connection timeout in platform SDK

There are the following methods for setting the connection timeout.

ApiClient.Builder methods
withConnectionTimeout(int connectionTimeout)

・Is the unit of the argument of this method seconds? Is it in milliseconds?

・Is this method a timeout value for sending a connection request to GenesysCloud and receiving a response that the connection was established?
Or is it the timeout value after the connection to GenesysCloud is completed, the API request is sent, and the response is returned?

Regards,
Atsushi

Hi @Atsushi.Y

The timeout unit is milliseconds.

The value is applied to the timeout of a connection request to the connection manager, the timeout until a connection is established, and the max inactivity time between data packets.

Hi jacobshaw

Thank you for your detailed explanation.

Regards,
Atsushi