Does it need to use a websocket or can pubsub be achieved by other means?
Pls know I'm a relative virgin with anything involving javascript, and prefer dart or gopherjs due to static typing heaven.
Does it need to use a websocket or can pubsub be achieved by other means?
Pls know I'm a relative virgin with anything involving javascript, and prefer dart or gopherjs due to static typing heaven.
websocket is just a layer over TCP, and you need it if you want a browser to interact with your API. It's how the current steemjs talks, which ironically means it should be able to stream pub/subs already. I would just imagine the front-end would already be using though if it were available. I built a websocket wrapper for delphi a while back. Maybe it'll help you understand better what it is: https://github.com/alexpmorris/WebSocketUpgrade
I know what websocket is, I just prefer to go with standards, and I know websocket is a standard, but.... have a look at this:
https://github.com/jcuga/golongpoll
Let me know. I can do this or websockets, or eventually both. I'm building this to get used, so the thing that is easiest for yall building front ends, is the thing that I'd like to include in ingestron.