TestClientBuilder

class TestClientBuilder<out T : HttpClientEngineConfig>(var config: HttpClientConfig<@UnsafeVariance T>.() -> Unit = {}, var test: suspend TestInfo.(client: HttpClient) -> Unit = {}, var after: suspend (client: HttpClient) -> Unit = {}, var repeatCount: Int = 1, var dumpAfterDelay: Long = -1, var concurrency: Int = 1)

Constructors

Link copied to clipboard
constructor(config: HttpClientConfig<@UnsafeVariance T>.() -> Unit = {}, test: suspend TestInfo.(client: HttpClient) -> Unit = {}, after: suspend (client: HttpClient) -> Unit = {}, repeatCount: Int = 1, dumpAfterDelay: Long = -1, concurrency: Int = 1)

Properties

Link copied to clipboard
var after: suspend (client: HttpClient) -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var test: suspend TestInfo.(client: HttpClient) -> Unit

Functions

Link copied to clipboard
fun TestClientBuilder<*>.after(block: suspend (client: HttpClient) -> Unit)
Link copied to clipboard
Link copied to clipboard
fun TestClientBuilder<*>.test(block: suspend TestInfo.(client: HttpClient) -> Unit)