setResponseTimeout

Sets the maximum time to wait for the response after the request has been sent.

Parameters

timeout

the response timeout as a Kotlin kotlin.time.Duration.


Sets the maximum time to wait for the response after the request has been sent.

Parameters

timeout

the response timeout as a Java java.time.Duration.