DefaultKtorTestApplication

open class DefaultKtorTestApplication(scope: InjectionScope) : KtorTestApplication

Implementation of KtorTestApplication for the null app name that applies defaults for the Ktor client.

Constructors

Link copied to clipboard
fun DefaultKtorTestApplication(scope: InjectionScope)

Functions

Link copied to clipboard
open override fun KtorTestClientConfig.configureClient()

A function called for every created client for the application.

Link copied to clipboard
open override fun createClient(block: HttpClientConfig<out HttpClientEngineConfig>.() -> Unit): HttpClient
Link copied to clipboard
open suspend override fun start()
Link copied to clipboard
open suspend override fun stop()

Properties

Link copied to clipboard
val appName: String?

The name of the KtorApplication this instance is for.

Link copied to clipboard
open override val client: HttpClient