sendfile-0.7.0: A portable sendfile library
Network.Socket.SendFile.Internal
sendFile :: Socket -> FilePath -> IO ()Source
sendFileIterWith :: (IO Iter -> IO a) -> Socket -> FilePath -> Integer -> IO aSource
sendFile' :: Socket -> FilePath -> Integer -> Integer -> IO ()Source
sendFileIterWith' :: (IO Iter -> IO a) -> Socket -> FilePath -> Integer -> Integer -> Integer -> IO aSource
unsafeSendFile :: Handle -> FilePath -> IO ()Source
unsafeSendFileIterWith :: (IO Iter -> IO a) -> Handle -> FilePath -> Integer -> IO aSource
unsafeSendFile'Source
Arguments
The output handle
The input filepath
The offset to start at
The number of bytes to send
unsafeSendFileIterWith'Source
maximum block size
sendFileMode :: StringSource