timeout

fun timeout(timeout: Int): Request

Sets the timeout of the request

Return

this

Parameters

timeout

The timeout of the request. (Set to -1 to disable)


The timeout of the request (Set to -1 to disable). Defaults to -1