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.
Helper interface to test client.
Link copied to clipboard
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)
Link copied to clipboard
Properties
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, retries: Int = 1, block: suspend TestClientBuilder<*>.() -> Unit): TestResult
Perform test with selected client engine.
fun <T : HttpClientEngineConfig> testWithEngine(factory: HttpClientEngineFactory<T>, loader: ClientLoader? = null, timeoutMillis: Long = 60L * 1000L, retries: Int = 1, block: suspend TestClientBuilder<T>.() -> Unit): TestResult
Perform test with selected client engine factory.