Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data BSTransport Source #
Instances
Transport BSTransport Source # | |
Defined in Metro.TP.BS newTransport :: TransportConfig BSTransport -> IO BSTransport Source # recvData :: BSTransport -> Int -> IO ByteString Source # sendData :: BSTransport -> ByteString -> IO () Source # closeTransport :: BSTransport -> IO () Source # | |
data TransportConfig BSTransport Source # | |
Defined in Metro.TP.BS |
newBSHandle :: MonadIO m => ByteString -> m BSHandle Source #
newBSHandle_ :: MonadIO m => Int -> ByteString -> m BSHandle Source #
closeBSHandle :: MonadIO m => BSHandle -> m () Source #
bsTransportConfig :: BSHandle -> (ByteString -> IO ()) -> TransportConfig BSTransport Source #
makePipe :: MonadIO m => m (TransportConfig BSTransport, TransportConfig BSTransport) Source #