View Source LiveData.Router (live_data v0.1.0-alpha1)

Router for Phoenix LiveDatas.

Link to this section Summary

Functions

Add a regular phoenix channel to the socket. See Phoenix.Socket.channel/3.

Adds a route to a LiveData.

Link to this section Functions

Link to this macro

channel(topic_pattern, module, opts \\ [])

View Source (macro)

Add a regular phoenix channel to the socket. See Phoenix.Socket.channel/3.

The dv:* channels are reserved by the implementation.

Link to this macro

data(route, module, opts \\ [])

View Source (macro)

Adds a route to a LiveData.