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
Post a Comment