API Reference channel_handler v0.2.1
modules
Modules
Lists all functions allowed in the ChannelHandler API.
A module implementing an event handler. Modules that use ChannelHandler
already
comply with this behaviour, so you should prefer that instead.
A ChannelHandler.Plug
, is a function or module that takes the connection
socket, the payload and the current handler bindings, and either returns a
modified version of each, or directly replies to the client, halting further
processing.