OnCallRespondContext

A context associated with the call.respond() action. Allows you to transform the response body. OnCallRespondContext is a receiver for PluginBuilder.onCallRespond handler of your PluginBuilder.

See also

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun transformBody(transform: suspend TransformBodyContext.(body: Any) -> Any)

Specifies how to transform a response body that is being sent to a client.