Module

HTTPurple.NodeMiddleware

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

#MiddlewareResult Source

newtype MiddlewareResult :: forall k. k -> Typenewtype MiddlewareResult input

Constructors

Instances

#MiddlewareResultR Source

type MiddlewareResultR :: Row Typetype MiddlewareResultR = (middlewareResult :: NextInvocation, request :: IncomingMessage IMServer, response :: ServerResponse)

#NodeMiddleware Source

#NodeMiddlewareStack Source

newtype NodeMiddlewareStack :: Row Type -> Row Type -> Typenewtype NodeMiddlewareStack input output

Constructors

Instances

#UsingMiddleware Source

class UsingMiddleware :: Row Type -> Row Type -> Row Type -> Constraintclass UsingMiddleware input thru output | input thru -> output where

Members

Instances

#dontCallNext Source

dontCallNext :: forall (m :: Type -> Type). Applicative m => m Unit