Ask a question to get started
Enter to send•Shift+Enter new line
The maximum time allowed to establish a connection with a host.
public Duration connect()
The maximum time allowed to establish a connection with a host. A value of [Duration.ZERO] means there's no timeout. Defaults to Duration.ofMinutes(1).
Duration.ofMinutes(1)