timeout

fun timeout(timeout: Int): Request

Sets the timeout of the request

Return

The request builder

Parameters

timeout

The timeout of the request


The timeout of the request in millisecond Default: 0 (No timeout)