linnet-conduit: Conduit-backed support for streaming in Linnet

[ library, linnet ] [ Propose Tags ]

Please see the documentation at

[Skip to Readme]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,
Dependencies base (>=4.7 && <5), bytestring (>=, conduit (>=, http-types (>=0.12.3), linnet (>=, wai (>=, warp (>=3.2.28) [details]
License LicenseRef-Apache
Copyright 2019 Sergey Kolbasov
Author Sergey Kolbasov
Category linnet
Home page
Bug tracker
Source repo head: git clone
Uploaded by sergeykolbasov at 2019-09-18T20:39:01Z
Distributions NixOS:
Downloads 1431 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-09-18 [all 1 reports]

Readme for linnet-conduit-

[back to package description]

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