Drab: remote controlled frontend framework for Phoenix

Well you know the transports used, like on the line:

transport :websocket, Phoenix.Transports.WebSocket

The Phoenix.Transports.WebSocket part is just fulfilling a behaviour, it might be possible to make a module that just delegates back to that one but overrides a few key functions on it to perform the cookie work again (and don’t forget the origin check!), that would be a great standalone library actually…

1 Like