WS Identifier #86
-
|
Can u add WS IDs, but if i subsribe to message event, i can't identifier what client push this message, i have only ws connect, but what the client send message idk. P.S. Thx for u project. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
You can store data in WebSocket object. WebSocket object is preserved between messages. See example: https://github.com/Novage/wt-tracker/blob/master/lib/uws-tracker.ts#L126 |
Beta Was this translation helpful? Give feedback.
-
|
hm.... |
Beta Was this translation helpful? Give feedback.
-
|
Hi, this is what I do: Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, @PeterHewat. This way works perfect but can I share |
Beta Was this translation helpful? Give feedback.
Hi, this is what I do:
Hope this helps.