Module

HTTPurple.Middleware

Package
purescript-httpurple
Repository
sigma-andex/purescript-httpurple

#Middleware Source

type Middleware :: Type -> Row Type -> Row Type -> Typetype Middleware route extIn extOut = MiddlewareM Aff route extIn extOut

#MiddlewareM Source

type MiddlewareM :: (Type -> Type) -> Type -> Row Type -> Row Type -> Typetype MiddlewareM m route extIn extOut = (ExtRequest route extOut -> m Response) -> ExtRequest route extIn -> m Response