Description
Conduit-backed support for streaming in Linnet.
Description
Please see the documentation at http://linnet.io
README.md
Linnet Conduit
This package adds support of streaming requests & responses in Linnet library using conduit.
import Linnet.Conduit
Import above exposes:
- orphan instance of
ToResponse ct (ConduitT () a m ())
- orphan instance of
ToResponse ApplicationJson (ConduitT () a m ())
that intersperse JSON chunks with newline symbol streamBody :: Endpoint m (ConduitT BL.ByteString BL.ByteString m ())
endpoint.