All adapters accept a middleware option. Middleware wraps the
fetch call, enabling auth injection, retry, logging, and caching
without modifying adapter internals.
Honored by defaultFetch in addition to its own timeout, so
a host can cancel an in-flight query when the user navigates away
without giving up the timeout that stops a hung endpoint.
Adapter middleware: composable request/response interceptors (M10.5.E2.T2).
All adapters accept a
middlewareoption. Middleware wraps the fetch call, enabling auth injection, retry, logging, and caching without modifying adapter internals.Framework-agnostic (D6).