elixir-plug / plug_cowboy

Plug adapter for the Cowboy web server
Other
243 stars 48 forks source link

Using websockets #54

Closed MrSoUndso closed 3 years ago

MrSoUndso commented 3 years ago

Hi everybody, I hope this is not to offtopic, but is it possible to create websocket connections with plug_cowboy?

If yes, could you point my to any resources that show how to do it?

Thanks in advance

josevalim commented 3 years ago

Please use the ElixirForum or StackOverflow for questions/help/feedback, where a wider community will be able to help you. We reserve the issues tracker for issues only. Thank you!

You should also be able to find some resources online or look at Phoenix for example. It basically resolves around passing your own dispatch rules to the underlying Cowboy server. Good luck!