I want to create realtime application and i want to send realtime updates only for specific users (for example my friends).
I have list of friend ids and my own id on client side. As I understand, I need to set sockjs session with my own id when I connect for my friends to be able to find me later when they send events.
The problem that I cant find where I can set the session id? The sockjs-client doesn't allows to send parameters with url on connect..