@tripathirajan/fetcher - v1.0.2
    Preparing search index...

    Type Alias RequestInterceptor

    RequestInterceptor: (config: RequestInit) => Promise<RequestInit> | RequestInit

    A function to intercept and modify the request before it is sent.

    Type declaration

      • (config: RequestInit): Promise<RequestInit> | RequestInit
      • Parameters

        • config: RequestInit

          The RequestInit object containing request configuration.

        Returns Promise<RequestInit> | RequestInit

        A Promise resolving to the modified RequestInit object or the original one.