Network.Socket.SendFile.Portable

sendfile-0.7.9: A portable sendfile library

Safe Haskell | None
Language | Haskell98

Network.Socket.SendFile.Portable

# Documentation

sendFile :: Socket -> FilePath -> IO ()

sendFileIterWith :: (IO Iter -> IO a) -> Socket -> FilePath -> Integer -> IO a

sendFile' :: Socket -> FilePath -> Integer -> Integer -> IO ()

sendFileIterWith' :: (IO Iter -> IO a) -> Socket -> FilePath -> Integer -> Integer -> Integer -> IO a

sendFile'' :: Socket -> Handle -> Integer -> Integer -> IO ()

sendFileIterWith'' :: (IO Iter -> IO a) -> Socket -> Handle -> Integer -> Integer -> Integer -> IO a

unsafeSendFile :: Handle -> FilePath -> IO ()

unsafeSendFileIterWith :: (IO Iter -> IO a) -> Handle -> FilePath -> Integer -> IO a

unsafeSendFile'

Arguments

:: Handle | The output handle
-> FilePath | The input filepath
-> Integer | The offset to start at
-> Integer | The number of bytes to send
-> IO () |

unsafeSendFile'' :: Handle -> Handle -> Integer -> Integer -> IO ()

unsafeSendFileIterWith'

Arguments

:: (IO Iter -> IO a) |
-> Handle | The output handle
-> FilePath | The input filepath
-> Integer | maximum block size
-> Integer | The offset to start at
-> Integer | The number of bytes to send
-> IO a |

unsafeSendFileIterWith'' :: (IO Iter -> IO a) -> Handle -> Handle -> Integer -> Integer -> Integer -> IO a

sendFileMode :: String