mohws-0.2.0.1: Modular Haskell Web ServerSource codeContentsIndex
Network.MoHWS.Stream
Description
Unified interface to String and ByteStrings.
Documentation
class Monoid stream => C stream whereSource
Methods
fromString :: Int -> String -> streamSource
toString :: stream -> StringSource
isEmpty :: stream -> BoolSource
length :: stream -> IntegerSource
isPrefixOf :: stream -> stream -> BoolSource
break :: (Char -> Bool) -> stream -> (stream, stream)Source
drop :: Int -> stream -> streamSource
read :: Handle -> Integer -> IO streamSource
readAll :: Int -> Handle -> IO streamSource
write :: Handle -> stream -> IO ()Source
writeChunked :: Int -> Handle -> stream -> IO ()Source
show/hide Instances
C ByteString
CharType char => C ([] char)
class Eq char => CharType char whereSource
Methods
fromChar :: Char -> charSource
toChar :: char -> CharSource
show/hide Instances
Produced by Haddock version 2.4.2