在連接和斷開連接時處理connectionid-Amazon WebSocket API網關p7



歡迎使用Amazon WebSocket API Gateway上的教程系列的第7部分。在本教程中,我介紹了如何配置連接和斷開路由後端集成,以在打開連接時將connectionid存儲在dynamodb中,以及在關閉或終止連接時自動刪除connectionid。


支持我的工作:

Patreon:https://www.patreon.com/srcecde
PayPal:http://paypal.me/srcecde
Paytm |付款:9023197426


系列教程


另一個渠道:

我的遊戲頻道:https://www.youtube.com/channel/UC8QMD-3yuE-_0h-ysWrqZhw


與我聯繫

推特:https://twitter.com/srcecde
GitHub:https://github.com/srcecde
面子書:https://www.facebook.com/SrceCde/
Instagram:https://www.instagram.com/srcecde/
領英(LinkedIn):https://www.linkedin.com/company/srcecde/
Reddit:https://www.reddit.com/r/srcecde。

1 comments
  1. Thanks you for sharing. I tried with API Websocket but still pending on hard limit that is max connection time: 2 hours. After 2 hours since connected to socket, the connection will be destroyed, the coming message can be missed. Did you have a way to make connection always stable?

Comments are closed.