I have an android application and I want to monitor who has the app started or not(by user id).
1. How can I do this with faye websocket?
2. How can I do this with plain sockets?
I'm not asking how I do this in android, but how I do it in actionhero and witch one is better.
I also use the "REST" part of actionhero, how I secure websocket and sockets in this case, because I want to use them only for this online users stats.
My result should be one page with realtime stats (for this I think websockets are the way for stats update).
I have low experience in nodejs and in WEB in general, please advice. I don't necessarily want code example, just advice and what to read to make it myself.
--
You received this message because you are subscribed to the Google Groups "actionHero.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to actionhero-j...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For the "dashboard" webpage i will need to use websockets, I don't want any page refresh.
So the plan is like this:
- android client connects to ah socket server and I changeRoom to private room so each client will be alone is his room - no extra messages and things (I can intercept trough connection middleware the connection and increment some redis key - or use ah stats)
Q. How I announce this (new client connected / disconnected) trough websocket for page update?
- android client executes some action and sends some data.
Q. How I announce websocket?
Thank you for helping me.
To unsubscribe from this group and stop receiving emails from it, send an email to actionhero-js+unsubscribe@googlegroups.com.