Safe Haskell | None |
---|---|
Language | Haskell2010 |
DSL for building of the response body.
Synopsis
- data Builder
- bytes :: ByteString -> Builder
- lazyBytes :: ByteString -> Builder
- lazyBytesBuilder :: Builder -> Builder
- text :: Text -> Builder
- lazyText :: Text -> Builder
- lazyTextBuilder :: Builder -> Builder
- actions :: ((ByteString -> IO ()) -> IO () -> IO ()) -> Builder
Documentation
A builder of the response body.
bytes :: ByteString -> Builder Source #
Lift ByteString.
lazyBytes :: ByteString -> Builder Source #
Lift lazy ByteString.
lazyBytesBuilder :: Builder -> Builder Source #
Lift a ByteString builder.
lazyTextBuilder :: Builder -> Builder Source #
Lift a Text builder.