next method
Implementation
@internal
@protected
Future next(Request req, Response resp) async {
int index = (req.read(#reqMiddlewareI) ?? 0) as int;
req.set(index + 1, #reqMiddlewareI);
var result = await reqHandlers[index](req, resp, next);
return result;
}