Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TimeoutIO = TimeoutIO {
- toHandle :: Handle
- toPutLazy :: ByteString -> IO ()
- toPut :: ByteString -> IO ()
- toGet :: IO (Maybe ByteString)
- toGetContents :: IO ByteString
- toSendFile :: FilePath -> Offset -> ByteCount -> IO ()
- toShutdown :: IO ()
- toSecure :: Bool
Documentation
TimeoutIO is a record which abstracts out all the network IO functions needed by the request handling loop. This allows use to use the same event loop for handle both http:/ and https:/.
TimeoutIO | |
|