ClientSettings

data class ClientSettings(var timeout: UInt, var redirectLimit: UInt, var ohttpChannel: String?, var userAgent: String? = null)

Constructors

Link copied to clipboard
constructor(timeout: UInt, redirectLimit: UInt, ohttpChannel: String?, userAgent: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

OHTTP channel to use for all requests (if any)

Link copied to clipboard

Maximum amount of redirects to follow (0 means redirects are not allowed)

Link copied to clipboard

Timeout for the entire request in ms (0 indicates no timeout).

Link copied to clipboard

Client default user-agent.