3 ms·
This looks interesting. So if I understand right I build a server that talks http to your nodes and you present that to the end user browsers as web-sockets?
by quickthrower2 3y ago
This looks interesting. So if I understand right I build a server that talks http to your nodes and you present that to the end user browsers as web-sockets?
- palkan 3y agoYeah, kind of. Client-server commands sent over WebSockets are translated into JS function calls (using HTTP as a transport); the functions could be used to send some data back, set up a subscription, or whatever. Similarly, you can broadcast messages to connected clients via HTTP.