Phoenix & WebSockets
The thread says Phoenix could not support raw WebSockets directly at the time, because its websocket support for Channels was tied to a private Cowboy API. The recommended path was Plug dispatch options with a raw Cowboy websocket handler.