apns-http2-0.1.1.0: Apple Push Notification service HTTP/2 integration.

Safe HaskellNone
LanguageHaskell2010

Network.Apns

Description

APNs integration using the HTTP/2 protocol rather than the legacy binary interface.

Synopsis

Documentation

connectApns :: forall m. MonadIO m => ApnsConnectionParams -> m (Either ApnsConnectionError ApnsConnection) Source #

Establish a single connection to APNs, yielding Right ApnsConnection on success, Left ApnsConnectionError otherwise.