iPhone推送通知连接频率

发布于 2024-08-17 01:55:09 字数 177 浏览 3 评论 0原文

苹果的文档指出

您还应该跨多个通知保留与 APN 的连接。 (APN 可能会将快速、重复地建立和断开的连接视为拒绝服务攻击。)

这在实践中意味着什么?您多久可以打开和关闭连接?即使您没有任何内容可发送,您是否应该始终保持 APN 和服务器之间的连接?

Apple's documentation states

You should also retain connections with APNs across multiple notifications. (APNs may consider connections that are rapidly and repeatedly established and torn down as a denial-of-service attack.)

What does this mean in practice? How often can you open and close connections? Are you supposed to always maintain a connection between the APNs and server, even if you have nothing to send it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文