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. |
Answered by
PeterHewat
Mar 7, 2019
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 |
0 replies
|
hm.... |
0 replies
|
Hi, this is what I do: Hope this helps. |
0 replies
|
Hi, @PeterHewat. This way works perfect but can I share |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this is what I do:
Hope this helps.