simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simplex.Messaging.Notifications.Transport

Synopsis

Documentation

data NTFVersion Source #

Instances

Instances details
VersionScope NTFVersion Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Transport

Protocol NTFVersion ErrorType NtfResponse Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type ProtoCommand NtfResponse = (cmd :: Type) Source #

type ProtoType NtfResponse = (sch :: ProtocolType) Source #

ProtocolEncoding NTFVersion ErrorType NtfCmd Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag NtfCmd Source #

ProtocolEncoding NTFVersion ErrorType NtfResponse Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag NtfResponse Source #

NtfEntityI e => ProtocolEncoding NTFVersion ErrorType (NtfCommand e) Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag (NtfCommand e) Source #

pattern VersionNTF :: Word16 -> 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.