timeout

fun HttpRequestBuilder.timeout(
    block: HttpTimeoutCapabilityConfiguration.() -> Unit
): Unit

Adds timeout boundaries to the request. Requires HttpTimeout feature to be installed.