Middleware typedef
Middleware =
HubRequestHandler Function(HubRequestHandler inner)
Wraps a HubRequestHandler, returning a new one — the composition primitive
for the request pipeline (authentication, logging, CORS, ACME challenge,
error mapping, ...).
Implementation
typedef Middleware = HubRequestHandler Function(HubRequestHandler inner);