aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/undici/types/interceptors.d.ts
blob: 047ac175d5005ff9f3ec48def2f87ff159a69245 (plain) (blame)
1
2
3
4
5
import Dispatcher from "./dispatcher";

type RedirectInterceptorOpts = { maxRedirections?: number }

export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor