Package-level declarations
Types
Link copied to clipboard
Helper interface to test client.
Helper interface to test client.
Helper interface to test client.
Helper interface to test client.
Link copied to clipboard
class TestClientBuilder<T : HttpClientEngineConfig>(var config: HttpClientConfig<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)
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun testWithEngine(engine: HttpClientEngine, timeoutMillis: Long = 60 * 1000L, block: suspend TestClientBuilder<*>.() -> Unit)
Perform test with selected client engine.
fun <T : HttpClientEngineConfig> testWithEngine(factory: HttpClientEngineFactory<T>, loader: ClientLoader? = null, timeoutMillis: Long = 60L * 1000L, block: suspend TestClientBuilder<T>.() -> Unit)
Perform test with selected client engine factory.