buckaroo v0.0.1 Buckaroo.Router View Source

An extension to Plug.Router now also supporting websocket.

Link to this section Summary

Functions

Dispatches to the websocket

Link to this section Functions

Link to this macro websocket(expr, opts) View Source (macro)

Dispatches to the websocket.

See Plug.Router.match/3 for more examples.

Example

websocket "/ws", connect: ExampleSocket