types library
Functions
-
branchMiddlewareCondition<
T> (dynamic condition) → void - Possible types for branch condition
Typedefs
-
BranchMiddlewareConditionFunction<
T> = Future< bool> Function(T context) - Asynchronous function for branch condition
-
CaughtMiddlewareHandler<
T> = dynamic Function(T context, Exception error) - Handler for catching errors in middleware chains
-
LazyMiddlewareFactory<
T> = Future< Middleware< Function(T context)T> > - Asynchronous factory to create middleware
-
Middleware<
T> = dynamic Function(T context, NextMiddleware next) - NextMiddleware = dynamic Function()
- Call the next middleware from the chain
- NextMiddlewareReturn = dynamic
- Returns the type of response middleware