setReadTimeout

abstract suspend fun setReadTimeout(timeout: Long?)

Sets the read timeout.

Parameters

timeout

The timeout in milliseconds, or null to disable.