1 Answer
- Newest
- Most votes
- Most comments
-2
You did not show that code in your example, but you must iterate over all connection in order to send a message to all clients. Are you scanning the DynamoDB table properly? Are you reading all pages (using the next toekn)?
Add some debug messages to your server code and make sure that you are actually trying to send to all clients, and if you are, print any responses to check for errors.
Also, I am not sure what the _ws.Send does. In order to send a message on a web socket you must call the postToConnection API.
Relevant content
- asked 10 months ago
- Accepted Answerasked a year ago
- asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago