View Source ChannelHandler.Handler behaviour (channel_handler v0.3.1)

A module implementing an event handler. Modules that use ChannelHandler already comply with this behaviour, so you should prefer that instead.

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle_in(t, term, map, t)

View Source
@callback handle_in(String.t(), term(), map(), Phoenix.Socket.t()) ::
  Phoenix.Channel.reply()