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


-- | conduit wrappers for WAI
--   
--   API docs and the README are available at
--   <a>http://www.stackage.org/package/wai-conduit</a>.
@package wai-conduit
@version 3.0.0.4


-- | A light-weight wrapper around <tt>Network.Wai</tt> to provide easy
--   conduit support.
module Network.Wai.Conduit

-- | Stream the request body.
--   
--   Since 3.0.0
sourceRequestBody :: forall (m :: Type -> Type). MonadIO m => Request -> Source m ByteString

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

-- | Create a raw response using a <tt>Source</tt> and <tt>Sink</tt> to
--   represent the input and output, respectively.
--   
--   Since 3.0.0
responseRawSource :: forall (m :: Type -> Type) (n :: Type -> Type). (MonadIO m, MonadIO n) => (Source m ByteString -> Sink ByteString n () -> IO ()) -> Response -> Response
