HttpConfig

data class HttpConfig(val requestTimeoutMs: Long, val connectTimeoutMs: Long, val socketTimeoutMs: Long)

Configuration for HTTP transport timeouts.

Parameters

requestTimeoutMs

Maximum time for the entire request (default: 30 seconds)

connectTimeoutMs

Maximum time to establish connection (default: 10 seconds)

socketTimeoutMs

Maximum time between TCP packets (default: 10 seconds)

Constructors

Link copied to clipboard
constructor(requestTimeoutMs: Long, connectTimeoutMs: Long, socketTimeoutMs: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard