tap

var tap: (from: Endpoint, to: Endpoint, bytes: ByteArray) -> Unit(source)

Sees every write: the address of the side that wrote, its peer, and the bytes. Called on the writer's coroutine.