A function used to intercept and process HTTP requests before they reach the final handler.
typedef Middleware = Future<Response> Function(Context ctx, Next next);