How to setup handler for incoming messages. #71
Unanswered
Lovecircle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I see a receive() function in the example but as far as I understand it receives an answer to the request previously sent from client to server.
How to setup a handler (in websocket client) which will receive messages initiated by a third party server? E.g. my websocket client sends nothing to the server - only receives a data stream, which is the whole point of websockets anyway.
Code example would be greatly appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions