#Cowboy
2 notas · última:
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.
Converting Erlang code into Elixir
The post shows a simple port of a Cowboy WebSocket example from Erlang to Elixir, with notes on atoms, modules, string differences, and a few details that can break the code.
