1回答
- 新しい順
- 投票が多い順
- コメントが多い順
-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.
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 1年前