transform

abstract fun transform(channel: Channel): Channel

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

Return

The transformed channel.