hosts

fun hosts(vararg hosts: String, block: Application.() -> Unit)

Registers a mock for an external service specified by hosts and configured with block.

See also