HeaderProvider
type HeaderProvider = | Record<string, string> | (() => | Record<string, string> | Promise<Record<string, string>>);Defined in: client/src/client/transport.ts:6
Headers to attach to every request. Either a static map, or a (possibly async) function called per request — the latter is handy for auth tokens that need to be refreshed.