Module

RoutingDuplexMiddleware

#ModuleInfo

type ModuleInfo = { args :: Foreign, mod :: NativeModuleName }

#routes

routes :: forall t a. RouteDuplex t a -> Config a -> Env -> Env

#execute

#ExecuteResult

#Config

type Config a = { dispatch :: Req -> a -> Tuple2 Req (Either UnmatchedHandler ModuleInfo), unmatched :: RouteError -> UnmatchedHandler }

Modules