marcelk / apns

JCA Connector for Apple Push Notification Service
MIT License
1 stars 1 forks source link

support of HTTP/2 APNS API #1

Open ramazanyich opened 7 years ago

ramazanyich commented 7 years ago

AS of december 2015 Apple introduced new HTTP/2 interface for APNS push notifications. Details are on https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9 and HTTP/2 format is explained at https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH101-SW1

Could you make an implementation for that new format ?

marcelk commented 7 years ago

Thanks for pointing me to these documents. I wasn't aware of the existence of a new HTTP/2 interface. The addition of support for JSON web tokens is interesting. Another new thing that I saw during a quick glance is that it will be possible to receive a response for each pushed message, which is nice to have. And it will probably be faster, but for myself the performance of the current interface is not an issue.

As long as the HTTP/1 interface is supported, I probably won't create a HTTP/2 version. And as far as I know, I'm the only user of this open source project. What's the background of your request?