Module
Hyper.Middleware
- Package
- purescript-hyper
- Repository
- owickstrom/hyper
#Middleware Source
newtype Middleware m i o a
Constructors
Middleware (i -> m (Tuple a o))
Instances
(Applicative m) => IxMonadMiddleware (Middleware m)
(Monad m) => IxMonad (Middleware m)
(Monad m) => Functor (Middleware m i i)
(Monad m) => Apply (Middleware m i i)
(Monad m) => Applicative (Middleware m i i)
(Monad m) => Bind (Middleware m i i)
(Monad m, Applicative m) => Monad (Middleware m i i)
(MonadEff e m) => MonadEff e (Middleware m i i)
(MonadAff e m) => MonadAff e (Middleware m i i)
#runMiddleware Source
runMiddleware :: forall a o i m. Middleware m i o a -> i -> m (Tuple a o)
#evalMiddleware Source
evalMiddleware :: forall a o i m. Functor m => Middleware m i o a -> i -> m o
#hoistMiddleware Source
hoistMiddleware :: forall a o i g f. (f ~> g) -> Middleware f i o a -> Middleware g i o a
#lift' Source
lift' :: forall a i m. Monad m => m a -> Middleware m i i a
- Modules
- Hyper.
Authentication - Hyper.
Authorization - Hyper.
Conn - Hyper.
ContentNegotiation - Hyper.
Cookies - Hyper.
Form - Hyper.
Form. Urlencoded - Hyper.
Header - Hyper.
Middleware - Hyper.
Middleware. Class - Hyper.
Node. BasicAuth - Hyper.
Node. FileServer - Hyper.
Node. Server - Hyper.
Node. Session. InMemory - Hyper.
Node. Test - Hyper.
Port - Hyper.
Request - Hyper.
Response - Hyper.
Session - Hyper.
Status - Hyper.
Test. TestServer