connectTimeout

The maximum time to allow for a connection to become fully established. This includes the time to resolve the network address, the TCP connect operation, the SSL handshake, and the WebSocket handshake.

Only values >= 1 second are allowed. Default is 2 minutes.

Throws

if the duration is outside the allowed range.