fulfill

fun fulfill(mimeType: String = "text/plain", encoding: String = "UTF-8", statusCode: Int = 200, reasonPhrase: String = "OK", headers: Map<String, String> = emptyMap(), body: ByteArray = ByteArray(0))

Answers the request with a synthetic response instead of letting it reach the network.