Companion

object Companion

Functions

Link copied to clipboard
fun httpClient(json: Json = json(), enableLogging: Boolean = false, enableRetry: Boolean = true, maxRetries: Int = 3, block: HttpClientConfig<*>.() -> Unit = {}): HttpClient

Create a new HttpClient with the given json configuration.

Link copied to clipboard
fun json(block: JsonBuilder.() -> Unit = {}): Json

Create a new Json configuration with the given block.