Functions
Link copied to clipboard
Responds with whatever response builds for the request: a response with a redirectChain, another final URL, or anything else the built-in shapes cannot express. It runs once per call.
fun respond(status: Int, headers: HttpHeaders, body: ByteArray, delay: Duration = Duration.ZERO): Step