streaming-wai-0.1.1: Streaming Wai utilities

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Streaming

Contents

Synopsis

Documentation

data Flush a #

Constructors

Chunk a 
Flush 

Instances

Functor Flush # 

Methods

fmap :: (a -> b) -> Flush a -> Flush b #

(<$) :: a -> Flush b -> Flush a #

Show a => Show (Flush a) # 

Methods

showsPrec :: Int -> Flush a -> ShowS #

show :: Flush a -> String #

showList :: [Flush a] -> ShowS #

ByteStrings

streamingRequest :: MonadIO m => Request -> Stream (Of ByteString) m () #

Stream the Request body

Flushed Builders

Using Flush allows you to explicitly control flushing behavior