Optional
incoming?: ((message, callback) => void)Extension for the incoming message.
The message.
The callback to invoke after the message is processed.
Optional
outgoing?: ((message, callback) => void)Extension for outgoing message.
The message.
The callback to invoke after the message is processed.
Types for defining extensions.