ktor-client-apache / io.ktor.client.engine.apache / ApacheEngineConfig / socketTimeout

socketTimeout

var socketTimeout: Int

Max milliseconds between TCP packets - default 10 seconds. A value of 0 represents infinite, while -1 represents system's default value.