API Reference channel_handler v0.6.2

modules

Modules

index

Index

  • join
  • router
    • plug
    • event
    • delegate
    • handle
    • scope
      • plug
      • event
      • delegate
      • handle

docs

Docs

join

join

Defines the join/3 function for a Phoenix channel.

A module implementing an event handler.

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.

For documentation about the router, check ChannelHandler.Dsl.