api documentation for apn (v2.1.4)

An interface to the Apple Push Notification service for Node.js

table of contents

  1. module apn
    1. function apn.APNCertificate (cert)
    2. function apn.APNKey (key)
    3. function apn.Notification (payload)
    4. function apn.Provider (options)
    5. function apn.token (input)
    6. object apn.APNCertificate.prototype
    7. object apn.APNKey.prototype
    8. object apn.Notification.prototype
    9. object apn.Provider.prototype
  2. module apn.APNCertificate
    1. function apn.APNCertificate (cert)
  3. module apn.APNCertificate.prototype
    1. function apn.APNCertificate.prototype.environment ()
    2. function apn.APNCertificate.prototype.key ()
    3. function apn.APNCertificate.prototype.validity ()
  4. module apn.APNKey
    1. function apn.APNKey (key)
  5. module apn.APNKey.prototype
    1. function apn.APNKey.prototype.fingerprint ()
  6. module apn.Notification
    1. function apn.Notification (payload)
  7. module apn.Notification.prototype
    1. function apn.Notification.prototype.apsPayload ()
    2. function apn.Notification.prototype.compile ()
    3. function apn.Notification.prototype.headers ()
    4. function apn.Notification.prototype.length ()
    5. function apn.Notification.prototype.prepareAlert ()
    6. function apn.Notification.prototype.setAction (value)
    7. function apn.Notification.prototype.setActionLocKey (value)
    8. function apn.Notification.prototype.setAlert (value)
    9. function apn.Notification.prototype.setBadge (value)
    10. function apn.Notification.prototype.setBody (value)
    11. function apn.Notification.prototype.setCategory (value)
    12. function apn.Notification.prototype.setContentAvailable (value)
    13. function apn.Notification.prototype.setExpiry (value)
    14. function apn.Notification.prototype.setLaunchImage (value)
    15. function apn.Notification.prototype.setLocArgs (value)
    16. function apn.Notification.prototype.setLocKey (value)
    17. function apn.Notification.prototype.setMdm (value)
    18. function apn.Notification.prototype.setMutableContent (value)
    19. function apn.Notification.prototype.setPayload (value)
    20. function apn.Notification.prototype.setPriority (value)
    21. function apn.Notification.prototype.setSound (value)
    22. function apn.Notification.prototype.setSubtitle (value)
    23. function apn.Notification.prototype.setThreadId (value)
    24. function apn.Notification.prototype.setTitle (value)
    25. function apn.Notification.prototype.setTitleLocArgs (value)
    26. function apn.Notification.prototype.setTitleLocKey (value)
    27. function apn.Notification.prototype.setUrlArgs (value)
    28. function apn.Notification.prototype.toJSON ()
  8. module apn.Provider
    1. function apn.Provider (options)
  9. module apn.Provider.prototype
    1. function apn.Provider.prototype.send (notification, recipients)
    2. function apn.Provider.prototype.shutdown ()

module apn

function apn.APNCertificate (cert)

function apn.APNKey (key)

function apn.Notification (payload)

function apn.Provider (options)

function apn.token (input)

module apn.APNCertificate

function apn.APNCertificate (cert)

module apn.APNCertificate.prototype

function apn.APNCertificate.prototype.environment ()

function apn.APNCertificate.prototype.key ()

function apn.APNCertificate.prototype.validity ()

module apn.APNKey

function apn.APNKey (key)

module apn.APNKey.prototype

function apn.APNKey.prototype.fingerprint ()

module apn.Notification

function apn.Notification (payload)

module apn.Notification.prototype

function apn.Notification.prototype.apsPayload ()

function apn.Notification.prototype.compile ()

function apn.Notification.prototype.headers ()

function apn.Notification.prototype.length ()

function apn.Notification.prototype.prepareAlert ()

function apn.Notification.prototype.setAction (value)

function apn.Notification.prototype.setActionLocKey (value)

function apn.Notification.prototype.setAlert (value)

function apn.Notification.prototype.setBadge (value)

function apn.Notification.prototype.setBody (value)

function apn.Notification.prototype.setCategory (value)

function apn.Notification.prototype.setContentAvailable (value)

function apn.Notification.prototype.setExpiry (value)

function apn.Notification.prototype.setLaunchImage (value)

function apn.Notification.prototype.setLocArgs (value)

function apn.Notification.prototype.setLocKey (value)

function apn.Notification.prototype.setMdm (value)

function apn.Notification.prototype.setMutableContent (value)

function apn.Notification.prototype.setPayload (value)

function apn.Notification.prototype.setPriority (value)

function apn.Notification.prototype.setSound (value)

function apn.Notification.prototype.setSubtitle (value)

function apn.Notification.prototype.setThreadId (value)

function apn.Notification.prototype.setTitle (value)

function apn.Notification.prototype.setTitleLocArgs (value)

function apn.Notification.prototype.setTitleLocKey (value)

function apn.Notification.prototype.setUrlArgs (value)

function apn.Notification.prototype.toJSON ()

module apn.Provider

function apn.Provider (options)

module apn.Provider.prototype

function apn.Provider.prototype.send (notification, recipients)

function apn.Provider.prototype.shutdown ()

[ this document was created with utility2 ]