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

Simplex.FileTransfer.Client

Documentation

data XFTPChunkSpec Source #

Constructors

XFTPChunkSpec 

Fields

Instances

Instances details
Show XFTPChunkSpec Source # 
Instance details

Defined in Simplex.FileTransfer.Client

Methods

showsPrec :: Int -> XFTPChunkSpec -> ShowS

show :: XFTPChunkSpec -> String

showList :: [XFTPChunkSpec] -> ShowS

Eq XFTPChunkSpec Source # 
Instance details

Defined in Simplex.FileTransfer.Client

getXFTPClient :: TransportSession FileResponse -> XFTPClientConfig -> [HostName] -> UTCTime -> (XFTPClient -> IO ()) -> IO (Either XFTPClientError XFTPClient) Source #

singleChunkSize :: Int64 -> Maybe Word32 Source #

prepareChunkSizes :: Int64 -> [Word32] Source #

prepareChunkSpecs :: FilePath -> [Word32] -> [XFTPChunkSpec] Source #

getChunkDigest :: XFTPChunkSpec -> IO ByteString Source #