Current state is in developing, not production ready!
Go2APNS use http/2 protocol to send notification to Apple push notification server for iOS remote notification.
POST value to http://<host>/push, support keys:
- token: device token
- expiration: apns-expiration
- priority: apns-priority
- topic: apns-topic
- payload: body content of the message is the JSON string please see The Remote Notification Payload
All apns-* value please see the APNs Provider API document.
Please check the HTTP status:
- 200: indicate this push success, and there is no other message
- 4xx: wrong request, will follow a json object to show you the reason
- 5xx: server internal error, will follow a json object to show you the reason
json object and error status description please see apple APNs Provider document