mwhitworth
I’m excited to share reverse_proxy_plug_websocket, a library for reverse proxying websocket connections in Elixir.
This idea grew out of several tickets filed on the reverse_proxy_plug project around a need to support websockets. This library handles the complexity of:
-
Detecting WebSocket upgrade requests
-
Establishing connections to upstream WebSocket servers
-
Maintaining bidirectional message flow between clients and upstream
-
Managing connection lifecycle and cleanup
It supports Gun and Websockex as adapters for the actual websocket functionality.
Proxying in a language like Elixir allows for dynamic runtime behaviour, described in the README, and (hopefully soon) the ability to rewrite or instrument the data stream itself, as required.
Feedback most welcome!
Links
- Hex
- GitHub:
Trending in Announcing
Other Trending Topics
Latest Phoenix Threads
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #phoenix_html
- #elixirconf-us
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 1- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
mwhitworth
I’ve now released 0.2.0, which features the ability to intercept, modify or drop WebSocket frames in either direction - see this section in the README.