[ClientWebSocket] When I received all messages from websocket server #59738
Unanswered
BethanyZhou
asked this question in
Q&A
Replies: 1 comment 1 reply
-
What does all messages mean? The result returned from the ReceiveAsync has the type of message that was received (text, binary or close). You should be able to use the close frame to detect if the server has gracefully closed the connection. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm receiving message from websocket server. I have no idea when I received all messages from server. In my casae, websocket will not close after sending message and it will send 3 message to client, each message is marked EndOfMessage as true. Any flag I can detect all messages are received? So I can send a message to server?
Could you kindly help to answer help to implement this functionality?
Really appreciate if this discussion is able to get a quick response.
Beta Was this translation helpful? Give feedback.
All reactions