@solana/web3.js
    Preparing search index...

    Type Alias FetchMiddleware

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

    A callback used to augment the outgoing HTTP request

    Type Declaration

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

        Returns void