Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.Wai.Streaming
Contents
- data Flush a
- streamingResponse :: Stream (Of ByteString) IO r -> Status -> ResponseHeaders -> Response
- streamingBody :: Stream (Of ByteString) IO r -> StreamingBody
- streamingResponseF :: Stream (Of (Flush Builder)) IO r -> Status -> ResponseHeaders -> Response
- streamingBodyF :: Stream (Of (Flush Builder)) IO r -> StreamingBody
Documentation
ByteStrings
streamingResponse :: Stream (Of ByteString) IO r -> Status -> ResponseHeaders -> Response Source #
Stream strict ByteString
s into a Response
streamingBody :: Stream (Of ByteString) IO r -> StreamingBody Source #
Stream strict ByteString
s into a StreamingBody
Flushed Builders
Using Flush allows you to explicitly control flushing behavior
streamingResponseF :: Stream (Of (Flush Builder)) IO r -> Status -> ResponseHeaders -> Response Source #
streamingBodyF :: Stream (Of (Flush Builder)) IO r -> StreamingBody Source #
Stream Builder
s into a StreamingBody