ClientLoader

expect abstract class ClientLoader(timeoutSeconds: Int)

Helper interface to test client.

actual abstract class ClientLoader(timeoutSeconds: Int)

Helper interface to test client.

actual abstract class ClientLoader(timeoutSeconds: Int)

Helper interface to test client.

actual abstract class ClientLoader(timeoutSeconds: Int)

Helper interface to test client.

Constructors

Link copied to clipboard
expect fun ClientLoader(timeoutSeconds: Int = 60)
actual fun ClientLoader(timeoutSeconds: Int = 60)
actual fun ClientLoader(timeoutSeconds: Int = 60)
actual fun ClientLoader(timeoutSeconds: Int = 60)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
expect fun clientTests(skipEngines: List<String> = emptyList(), onlyWithEngine: String? = null, block: suspend TestClientBuilder<HttpClientEngineConfig>.() -> Unit)

Perform test against all clients from dependencies.

actual fun clientTests(skipEngines: List<String> = emptyList(), onlyWithEngine: String? = null, block: suspend TestClientBuilder<HttpClientEngineConfig>.() -> Unit)

Perform test against all clients from dependencies.

actual fun clientTests(skipEngines: List<String> = emptyList(), onlyWithEngine: String? = null, block: suspend TestClientBuilder<HttpClientEngineConfig>.() -> Unit)

Perform test against all clients from dependencies.

actual fun clientTests(skipEngines: List<String> = emptyList(), onlyWithEngine: String? = null, block: suspend TestClientBuilder<HttpClientEngineConfig>.() -> Unit)

Perform test against all clients from dependencies.

Link copied to clipboard
expect fun dumpCoroutines()

Print coroutines in debug mode.

actual fun dumpCoroutines()
actual fun dumpCoroutines()
actual fun dumpCoroutines()
Link copied to clipboard
fun waitForAllCoroutines()

Issues to fix before unlock:

Properties

Link copied to clipboard
lateinit var engine: HttpClientEngineContainer
Link copied to clipboard
open val timeout: CoroutinesTimeout
Link copied to clipboard
val timeoutSeconds: Int