wai-control-0.1.0.1: Give wai Applications an IO-based inner monad

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.