onCallReceive
fun onCallReceive(block: suspend OnCallReceiveContext<PluginConfig>.(call: ApplicationCall, body: Any) -> Unit)
Content copied to clipboard
fun onCallReceive(block: suspend OnCallReceiveContext<PluginConfig>.(call: ApplicationCall) -> Unit)
Content copied to clipboard
Specifies the block handler that allows you to obtain and transform data received from the client. This block is invoked for every attempt to receive the request body.
See also
Parameters
block
An action that needs to be executed when your application receives data from a client.