Type alias FetchMiddleware

FetchMiddleware: ((info, init, fetch) => void)

A callback used to augment the outgoing HTTP request

Type declaration

    • (info, init, fetch): void
    • Parameters

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

            Returns void

      Returns void

Generated using TypeDoc