Vinyl
    Preparing search index...

    Type Alias RequestInterceptor

    RequestInterceptor: (params: MutableRequestParams) => void

    Mutates a request before it's made. A request interceptor can be set in Vinyl dependencies. It will be called immediately before a request is made. The interceptor may modify the request, for example to add headers, change caching, or client-side redirection. Example to disable caching:

    (params) => { params.init.cache = 'no-cache' }

    Type declaration