#Plug
2 notas · última:
Building a web framework from scratch in Elixir
The article shows how to build a small Sinatra-like web framework in Elixir with Plug, covering requests, routing, macros, templates, Ecto models, testing, and performance.
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.
