Type alias FetchMiddleware

FetchMiddleware: ((info: Parameters<FetchFn>[0], init: Parameters<FetchFn>[1], fetch: ((...a: Parameters<FetchFn>) => void)) => void)

Type declaration

    • (info: Parameters<FetchFn>[0], init: Parameters<FetchFn>[1], fetch: ((...a: Parameters<FetchFn>) => void)): void
    • A callback used to augment the outgoing HTTP request

      Parameters

      • info: Parameters<FetchFn>[0]
      • init: Parameters<FetchFn>[1]
      • fetch: ((...a: Parameters<FetchFn>) => void)
          • (...a: Parameters<FetchFn>): void
          • Parameters

            Returns void

      Returns void

Generated using TypeDoc