Computer scienceBackendKtorAdvanced Ktor

Ktor Testing

Custom Client

Report a typo

Write the code that will create a custom HTTP client:

@Test
fun testRegistration() = testApplication {
    val client = /* your code here */ {
        install(ContentNegotiation) {
            jackson {
                enable(SerializationFeature.INDENT_OUTPUT)
            }
        }
    }
}
Enter a short text

Create a free account to access the full topic