hexedpackets / trot

An Elixir web micro-framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please provide an example for configuring Websockets

indiejames opened this issue · comments

I have seen examples that demonstrate that cowboy support Websockets, but it's not clear to me how to configure them using trot, or if this is even possible. If not, does it make sense to try to configure normal http routes using trot and set Websockets up directly with cowboy, or should I just user the normal cowboy route configuration for everything?