Have you tried the `pipes-wai` library? On Jun 28, 2014 1:52 PM, "Nicolas Trangez" <[email protected]> wrote:
> All, > > Has anyone ever written anything HTTP-server-like using Pipes? I looked > into Warp to check whether it could be integrated, but Warp seems to do > connection management, thread management, timeout handling, whatnot, > which is not what I need. > > I'm looking for something simpler: given a `Producer ByteString m r` and > a `Consumer ByteString m r`, read a `Request` from the producer, then do > some handling, and render a `Response` to the consumer. > > Are there any libraries I could look into, or is Warp easy to integrate > yet I'm failing to see how? > > Thanks, > > Nicolas > > -- > You received this message because you are subscribed to the Google Groups > "Haskell Pipes" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "Haskell Pipes" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
