Middleware typedef

Middleware = dynamic Function(Request req, Response resp, Handler next)

prefiusly called MiddlewareHandler

Implementation

typedef Middleware = Function(
  Request req,
  Response resp,
  Handler next,
);