Websocket onMessage ring the bell only once even there are multiple browser tabs listening for the messages -


i have active websocket connection on each tab of browser. when there message received each of tabs, ringing bells annoying. there way can ring bell once multiple tabs open(facebook doing this)

if control server, can unicast "ring" event specific connection (i suggest latest connection) while broadcasting, now, actual message websocket connections.

if don't control server, doubt there applicable solution.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -