Our great sponsors
-
Primus
:zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Just developing a rest + rpc library for cases like that. Currently it uses http, but i'm working on websockets for this, using socket.io as the underlying layer. It will be there in the 1.0 release soon. You have ability to simply call functions across client/server (RPC, like tRPC but much simpler). And its planned to allow to pass callback functions. Also even pass file objects from your browser dom to them and they will automatially get streamed to the server ;) Just the communcation layer for the folks because i see the same issues every day. So check back...
Socket.io would work, but I'd recommend using primus with uws https://github.com/primus/primus
Related posts
- We Improved Reliability of Our WebSocket Connections
- WebSockets and Node.js - testing WS and SockJS by building a web app
- Socket io not working on deployed version
- Hi guys, just wanted to share that I tried to create a better omegle alternative. Open to any feedback!
- Onde estou errando? ( Dias sem progresso )