AntonFagerberg / rackla

Open Source API Gateway in Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websocket Support

MattNguyen opened this issue · comments

Does Rackla support websockets? Let's say that one of my microservices exposes a websocket API, would proxying through Rackla leave a persistent connection between the client and microservice?

Also, thank you for building this out. It looks very interesting and may be a good fit for my company's API infrastructure.

There is no support in Rackla for web sockets and as far as I know there is no support for it in neither Hackney nor Plug (out of the box) which Rackla is utilising - so there's no easy way of adding it to the framework, at least with the current setup.

That said, I think it is and interesting idea worth pursuing - especially to see if it can feel natural together with the existing functionality Rackla. I will start using Phoenix Channels for another project soon and hopefully there's much to be learned there.

So to sum up, currently no support, probably not in the near future but I'm very interested in suggestions and any input regarding this!