object Companion
source · line 16public
public companion
Factories for clients owned by a caller-provided coroutine scope.
function open
source · line 21public
public suspend fun open(scope: CoroutineScope, config: HttpClientConfig = httpClientConfig()): HttpClient
Creates a client on the current event loop and binds background work to scope; close it before the scope body exits.
parameter config
source · line 23public
config: HttpClientConfig = httpClientConfig()
parameter scope
source · line 22public
scope: CoroutineScope