Phoenix channels currently support WebSockets and Long Polling. However, Phoenix application is not limited by these and its creators have made it possible to add other transport methods like MQTT, STOMP, HTML5 SSE, etc.
Proposal
Tortoise abstracts the nuances of MQTT making it a breeze to add MQTT in any project. Supporting Phoenix channels will be a step closer towards it.
Further
Implementing this is essentially following the behavior outlined in Phoenix.Socket.Transport documentation.
I was planning on starting a PR. However, after reading #106, I figured it'd be best to wait for MQTT v5 and WebSocket support before proceeding. I will leave this here for consideration in the future.
Thanks for the feature request. Let's see what we can do with the coming Tortoise. I will see if I can get a rc out sooner than later. Sorry it takes some time :)
Pre-requisite
Phoenix channels currently support WebSockets and Long Polling. However, Phoenix application is not limited by these and its creators have made it possible to add other transport methods like MQTT, STOMP, HTML5 SSE, etc.
Proposal
Tortoise abstracts the nuances of MQTT making it a breeze to add MQTT in any project. Supporting Phoenix channels will be a step closer towards it.
Further
Implementing this is essentially following the behavior outlined in Phoenix.Socket.Transport documentation.
I was planning on starting a PR. However, after reading #106, I figured it'd be best to wait for MQTT v5 and WebSocket support before proceeding. I will leave this here for consideration in the future.