runMiddlewareAndController function
Run middleware and controllers. It stays sync while every step gives a plain value, so a simple route needs no Future. At the first Future it waits, then goes on with the next item.
Implementation
FutureOr<dynamic> runMiddlewareAndController(DoxRequest doxReq) {
return _runFrom(doxReq, 0, null);
}