简体   繁体   English

iPhone推送通知是通过HTTP还是HTTPS发送的?

[英]Are iPhone Push Notifications sent over HTTP or HTTPS?

I want to implement Push Notifications on iOS. 我想在iOS上实现推送通知。 Can anyone tell me if the push notifications can be sent over HTTP or HTTPS? 谁能告诉我是否可以通过HTTP或HTTPS发送推送通知? Or are both possible? 还是两者都有?

Apple push notification is done over TCP using port 2195. On the other hand, HTTP uses port 80 and https uses port 443. Apple推送通知是通过TCP使用端口2195完成的。另一方面,HTTP使用端口80,而https使用端口443。

Hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM