Aurora
Aurora2y ago

✅ – 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.
Solution:
Message Not Public
Sign In & Join Server To View
Jump to solution
5 Replies
Solution
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Aurora
Aurora2y ago
The server will not be on the user's computer, it's gonna be a regular old server running somewhere on the cloud & the server isn't implemented in node, it itself is made using Rust with actix web I guess I'll be trying to use the raw API for now, thanks!
reactibot
reactibot2y ago
This question has an answer! Thank you for helping 😄 If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1049780123290849300
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
reactibot
reactibot2y ago
This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/902647189120118794/1049780123290849300