simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellNone
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

ProtocolEncoding NTFVersion ErrorType NtfCmd Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag NtfCmd 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

ProtocolEncoding NTFVersion ErrorType NtfResponse Source # 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag NtfResponse 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

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

Defined in Simplex.Messaging.Notifications.Protocol

Associated Types

type Tag (NtfCommand e) 
Instance details

Defined in Simplex.Messaging.Notifications.Protocol

pattern VersionNTF :: Word16 -> VersionNTF Source #

ntfServerHandshake :: Transport c => APrivateSignKey -> c 'TServer -> KeyPairX25519 -> KeyHash -> VersionRangeNTF -> ExceptT TransportError IO (THandleNTF c 'TServer) Source #

Notifcations server transport handshake.

ntfClientHandshake :: Transport c => c 'TClient -> KeyHash -> VersionRangeNTF -> Bool -> Maybe (ServiceCredentials, KeyPairEd25519) -> ExceptT TransportError IO (THandleNTF c 'TClient) Source #

Notifcations server client transport handshake.