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) {
/// strict mode off: one bool check, nothing more
if (StrictMode.enabled) return _timed(doxReq);
return _runAll(doxReq);
}