Builder

interface Builder

A mutable instance used to set timeout configuration for clients.

Properties

Link copied to clipboard
abstract var attemptTimeout: Duration?

The maximum amount of time to wait for any single attempt of a request within the retry loop. By default, the value is null indicating no timeout is enforced. Attempt timeouts may be retried if allowed by the current retry policy and retry capacity.

Link copied to clipboard
abstract var callTimeout: Duration?

The maximum amount of time to wait for completion of a call, including any retries after the first attempt. By default, the value is null indicating no timeout is enforced. Call timeouts are not retried.