MessageTransformer

fun interface MessageTransformer

A transformer that can be used to transform a message object before third parties can access it. This is useful for adding extra data to the message object and/or encrypting/decrypting it.

Inheritors

Functions

Link copied to clipboard
abstract fun transform(message: Message): Message

Transforms the message before returning it to the caller. This can be used to add extra data to the message object and/or encrypt/decrypt it.