Safe Haskell | None |
---|---|
Language | Haskell2010 |
APNs integration using the HTTP/2 protocol rather than the legacy binary interface.
Synopsis
- connectApns :: forall m. MonadIO m => ApnsConnectionParams -> m (Either ApnsConnectionError ApnsConnection)
- module Network.Apns.Types
Documentation
connectApns :: forall m. MonadIO m => ApnsConnectionParams -> m (Either ApnsConnectionError ApnsConnection) Source #
Establish a single connection to APNs, yielding
on success, Right
ApnsConnection
otherwise.Left
ApnsConnectionError
module Network.Apns.Types