Package-level declarations
Types
Link copied to clipboard
class KtorHttpClient(engineFactory: HttpClientEngineFactory<*>? = null, httpClientOptions: HttpClientConfig<*>.() -> Unit = {
defaultRequest {
accept(VndApiJson)
contentType(VndApiJson)
}
}, httpClient: HttpClient = if (engineFactory == null) HttpClient(httpClientOptions) else HttpClient(
engineFactory,
httpClientOptions
)) : HttpClient
A Ktor implementation of the HttpClient interface.