✅ – Aurora – 20-11 Dec 6
Howdy y'all!
So for my project I have a server that needs to get a web socket connection to a program (that acts as a websocket server) that runs on the user's computer, to facilitate this I connection (among other things) I have created a React web app that would create two websocket connections, one to my server, and another one to the program running locally on the user's computer. And then it would simply act as a bridge, relaying everything sent from the server to the program & vice versa.
My question is what npm libraries would be good for this task? Or do y'all think that just using the raw javascript websocket API would be enough? I'm already using Redux RTK Query if there's any library or websocket api that interacts nicely with this.
So for my project I have a server that needs to get a web socket connection to a program (that acts as a websocket server) that runs on the user's computer, to facilitate this I connection (among other things) I have created a React web app that would create two websocket connections, one to my server, and another one to the program running locally on the user's computer. And then it would simply act as a bridge, relaying everything sent from the server to the program & vice versa.
My question is what npm libraries would be good for this task? Or do y'all think that just using the raw javascript websocket API would be enough? I'm already using Redux RTK Query if there's any library or websocket api that interacts nicely with this.
