在连接和断开连接时处理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.