TestClientBuilder

class TestClientBuilder<T : HttpClientEngineConfig>

Constructors

<init>

TestClientBuilder(
    config: HttpClientConfig<T>.() -> Unit = {},
    test: suspend (client: HttpClient) -> Unit = {})

Properties

config

var config: HttpClientConfig<T>.() -> Unit

test

var test: suspend (client: HttpClient) -> Unit

Extension Functions

config

fun <T : HttpClientEngineConfig> TestClientBuilder<T>.config(
    block: HttpClientConfig<T>.() -> Unit
): Unit

test

fun TestClientBuilder<*>.test(
    block: suspend (client: HttpClient) -> Unit
): Unit