KtorHttpClient
constructor(engineFactory: <Error class: unknown class><out <Error class: unknown class>>? = null, httpClientOptions: <Error class: unknown class><out <Error class: unknown class>>.() -> Unit = {
defaultRequest {
accept(VndApiJson)
contentType(VndApiJson)
}
}, httpClient: <Error class: unknown class>? = null)
Parameters
engineFactory
The engine factory to use for the HTTP client.
httpClientOptions
The options to pass to the HTTP client.
httpClient
An existing HTTP client to use. engineFactory and httpClientOptions are ignored when this is provided. The caller owns this client and remains responsible for closing it.