onCallReceive
fun onCallReceive(block: suspend OnCallReceiveContext<PluginConfig>.(call: ApplicationCall, body: Any) -> Unit)
fun onCallReceive(block: suspend OnCallReceiveContext<PluginConfig>.(call: ApplicationCall) -> Unit)
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.