-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | A port of wai-conduit for the pipes ecosystem
--   
--   A light-weight wrapper around Network.Wai to provide easy pipes
--   support.
@package pipes-wai
@version 3.2.0


-- | A light-weight wrapper around <tt>Network.Wai</tt> to provide easy
--   pipes support.
module Pipes.Wai
data Flush a
Chunk :: a -> Flush a
Flush :: Flush a

-- | Stream the request body.
--   
--   Since 3.0.0
producerRequestBody :: MonadIO m => Request -> Producer ByteString m ()

-- | Create an HTTP response out of a <tt>Producer</tt>.
--   
--   Since 3.0.0
responseProducer :: Status -> ResponseHeaders -> Producer (Flush Builder) IO () -> Response

-- | Create a raw response using a <tt>Producer</tt> and <tt>Consumer</tt>
--   to represent the input and output, respectively.
--   
--   Since 3.0.0
responseRawProducer :: (MonadIO m, MonadIO n) => (Producer ByteString m () -> Consumer ByteString n () -> IO ()) -> Response -> Response
instance GHC.Show.Show a => GHC.Show.Show (Pipes.Wai.Flush a)
instance GHC.Classes.Ord a => GHC.Classes.Ord (Pipes.Wai.Flush a)
instance GHC.Classes.Eq a => GHC.Classes.Eq (Pipes.Wai.Flush a)
instance GHC.Base.Functor Pipes.Wai.Flush
