You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2023. It is now read-only.
There doesn't appear to be any support for this that I can find within the proxy library. Only other examples I've seen are people starting up a net/http server on the side on a different port and proxying through that framework. I know I need to create 2 sockets one between the client and proxy and another between the proxy and backend. My issue is that I don't really see how to even setup a websocket in this situation. I'd think I'd need to setup both connections in the upgrade call, but stuff is so abstracted from me I'm not sure how I'd do that. Do I need to do it on upgrade? Some general help to get started would be much appreciated.
Honestly ... if someone can just show me how to make a new websocket with the framework and register it I could do it. Looking at the Github I'm worried all those methods are private so the backend might be incapable of making outgoing connections and only create them via someone else requesting them.
Chase Lewis
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There doesn't appear to be any support for this that I can find within the proxy library. Only other examples I've seen are people starting up a net/http server on the side on a different port and proxying through that framework. I know I need to create 2 sockets one between the client and proxy and another between the proxy and backend. My issue is that I don't really see how to even setup a websocket in this situation. I'd think I'd need to setup both connections in the upgrade call, but stuff is so abstracted from me I'm not sure how I'd do that. Do I need to do it on upgrade? Some general help to get started would be much appreciated.
Honestly ... if someone can just show me how to make a new websocket with the framework and register it I could do it. Looking at the Github I'm worried all those methods are private so the backend might be incapable of making outgoing connections and only create them via someone else requesting them.
Chase Lewis
The text was updated successfully, but these errors were encountered: