Compatibility with Ktor • opensavvy.prepared.compat.ktor • preparedClient
preparedClient
fun Prepared<TestApplication>.preparedClient(configuration: HttpClientConfig<out HttpClientEngineConfig>.(test: TestDsl) -> Unit): PreparedProvider<HttpClient>
Instantiates a Ktor test client from a test server.
This overload allows configuring the created client. It is sugar for TestApplication.createClient.
fun Prepared<TestApplication>.preparedClient(): PreparedProvider<HttpClient>
Instantiates a Ktor test client from a test server.
This function is sugar for TestApplication.client.