jaguar.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(Context ctx, dynamic exception, StackTrace trace) FutureOr
A function that shall be called when an exception occurs when processing a route. [...]
RouteHandler<RespType>(Context context) FutureOr<RespType>
Prototype for Route handler. A route handler is a function that shall be invoked when a HTTP request with matching path is received. [...]
RouteInterceptor<Result>(Context ctx) FutureOr<Result>
Prototype of route interceptor. A router interceptor is a function that runs before or after the route handler.