response

fun response(block: suspend FlowContext.(HttpResponse) -> Unit)

Adds a response block to the workflow.

Parameters

block

The block to be added.