http/mux/mux
library
Typedefs
-
ExceptionHandler
= FutureOr<void> Function(Context ctx, dynamic exception, StackTrace trace)
-
A function that shall be called when an exception occurs when processing a
route.
-
RouteHandler<RespType>
= FutureOr<RespType> Function(Context context)
-
Prototype for Route handler. A route handler is a function that shall be
invoked when a HTTP request with matching path is received.
-
RouteInterceptor
= FutureOr<void> Function(Context ctx)
-
Prototype of route interceptor. A router interceptor is a function that runs
before or after the route handler.