slogsdon / elixir-reverse-proxy

A Plug based, reverse proxy server written in Elixir.
https://hex.pm/packages/reverse_proxy
MIT License
147 stars 34 forks source link

Wishlist: Websocket Support #12

Open jeremyjh opened 7 years ago

jeremyjh commented 7 years ago

It looks like presently there is not Websocket support. I was hoping to use this plug to proxy to a next.js server, which uses a websocket for webpack-hmr (hot loading). Presently it times out establishing a connection.

slogsdon commented 7 years ago

While it could be technically possible, the only way to achieve this is to add adapter specific code since Plug does not yet support websockets. I'd like to see more input/thoughts from others