http/mux/mux library

Classes

GroupBuilder
Interceptor<Result>
An interceptor based on Dart class.
Muxable
Route
Helps builds a route handler with its interceptors and exception handlers

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.