metro-transport-xor-0.1.0.0: XOR transport for metro

Safe HaskellNone
LanguageHaskell2010

Metro.TP.XOR

Documentation

data XOR tp Source #

Instances
Transport tp => Transport (XOR tp) Source # 
Instance details

Defined in Metro.TP.XOR

Associated Types

data TransportConfig (XOR tp) :: Type #

Methods

newTransport :: TransportConfig (XOR tp) -> IO (XOR tp) #

recvData :: XOR tp -> Int -> IO ByteString #

sendData :: XOR tp -> ByteString -> IO () #

closeTransport :: XOR tp -> IO () #

data TransportConfig (XOR tp) Source # 
Instance details

Defined in Metro.TP.XOR