← Back to Kairo Docs|API Reference (Dokka)

HttpClientFactory

Factory for creating pre-configured Ktor HTTP clients with JSON support and timeouts.

Functions

Link copied to clipboard
fun create(timeout: Duration, json: KairoJson, block: HttpClientConfig<*>.() -> Unit): HttpClient

Creates a Ktor HTTP client using the Java engine.