MultiClientProvider
A ClientProvider that can provide clients based on an application name.
By default, the client and createClient functions that come from ClientProvider (i.e. the ones that do not take application names) will implicitly use the null
application name.
Functions
Link copied to clipboard
Retrieves a HttpClient with default configurations for the KtorTestApplication with the given name.
Link copied to clipboard
open override fun createClient(block: HttpClientConfig<out HttpClientEngineConfig>.() -> Unit): HttpClient
Content copied to clipboard
abstract fun createClient(appName: String?, block: HttpClientConfig<out HttpClientEngineConfig>.() -> Unit): HttpClient
Content copied to clipboard
Retrieves a HttpClient with default configurations and the configurations provided in the given block for the KtorTestApplication with the given name.