| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Notifications.Transport
Synopsis
- data NTFVersion
- type VersionRangeNTF = VersionRange NTFVersion
- pattern VersionNTF :: Word16 -> VersionNTF
- type THandleNTF c p = THandle NTFVersion c p
- invalidReasonNTFVersion :: VersionNTF
- supportedClientNTFVRange :: VersionRangeNTF
- supportedServerNTFVRange :: VersionRangeNTF
- alpnSupportedNTFHandshakes :: [ALPN]
- ntfServerHandshake :: forall c. Transport c => APrivateSignKey -> c 'TServer -> KeyPairX25519 -> KeyHash -> VersionRangeNTF -> ExceptT TransportError IO (THandleNTF c 'TServer)
- ntfClientHandshake :: forall c. Transport c => c 'TClient -> KeyHash -> VersionRangeNTF -> Bool -> Maybe (ServiceCredentials, KeyPairEd25519) -> ExceptT TransportError IO (THandleNTF c 'TClient)
Documentation
data NTFVersion Source #
Instances
type VersionRangeNTF = VersionRange NTFVersion Source #
pattern VersionNTF :: Word16 -> VersionNTF Source #
type THandleNTF c p = THandle NTFVersion c p Source #
invalidReasonNTFVersion :: VersionNTF Source #
ntfServerHandshake :: forall c. Transport c => APrivateSignKey -> c 'TServer -> KeyPairX25519 -> KeyHash -> VersionRangeNTF -> ExceptT TransportError IO (THandleNTF c 'TServer) Source #
Notifcations server transport handshake.
ntfClientHandshake :: forall c. Transport c => c 'TClient -> KeyHash -> VersionRangeNTF -> Bool -> Maybe (ServiceCredentials, KeyPairEd25519) -> ExceptT TransportError IO (THandleNTF c 'TClient) Source #
Notifcations server client transport handshake.