toggle menu
ktor
2.3.12
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
jvmAndNix
switch theme
search in API
ktor-server-test-host
/
io.ktor.server.testing
/
ExternalServicesBuilder
/
hosts
hosts
jvmAndNix
fun
hosts
(
vararg
hosts
:
String
,
block
:
Application
.
(
)
->
Unit
)
Registers a mock for an external service specified by
hosts
and configured with
block
.
See also
test
Application