Timeout

class Timeout

A class containing timeouts for various processing phases of a request.

Types

Link copied to clipboard
class Builder

A builder for Timeout.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

The maximum time allowed to establish a connection with a host.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun read(): Duration

The maximum time allowed between two data packets when waiting for the server’s response.

Link copied to clipboard

The maximum time allowed for a complete HTTP call, not including retries.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

The maximum time allowed between two data packets when sending the request to the server.