Hi ,
I’ve tried with Phoenix Channels first.
The problem is : to be compatible with action cable protocol, specially during 101 Switching protocol Phoenix Channel wasn’t offering enough flexibility. That’s why i use something more low level : Cowboy websocket handler.
For Redis, you’re absolutely right, this is not necessary. It was just easier to implement with
(The purpose of redis in this package is only to store list of pid corresponding to a channel)
Is it meant to be integrated with an existing Rails front-end? In order to make your new Elixir application backward compatible with some existing ActionCable JS code?
If it is not the case, I don’t really see the point of your library