wai-control-0.1.0.2: Run wai Applications in IO based monads

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Trans

Contents

Synopsis

Application

type ApplicationT m = Request -> (Response -> m ResponseReceived) -> m ResponseReceived Source #

A type synonym for a wai Application which has been lifted from the IO monad.

Middleware

type MiddlewareT m = ApplicationT m -> ApplicationT m Source #

A type synonym for a wai Middleware which has been lifted from the IO monad.