Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Flush a
- streamingRequest :: MonadIO m => Request -> Stream (Of ByteString) m ()
- 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
streamingRequest :: MonadIO m => Request -> Stream (Of ByteString) m () Source
Stream the Request
body
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