You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**dispatch**`function` - The dispatch function to be called after every retry.
10
10
-**maxRedirections**`number` - Maximum number of redirections allowed.
11
11
-**opts**`object` - Options for handling redirection.
12
12
-**handler**`object` - An object containing handlers for different stages of the request lifecycle.
13
-
-**redirectionLimitReached**`boolean` (default: `false`) - A flag that the implementer can provide to enable or disable the feature. If set to `false`, it indicates that the caller doesn't want to use the feature and prefers the old behavior.
14
13
15
14
Returns: `RedirectHandler`
16
15
@@ -20,7 +19,6 @@ Returns: `RedirectHandler`
20
19
-**maxRedirections**`number` (required) - Maximum number of redirections allowed.
21
20
-**opts**`object` (required) - Options for handling redirection.
22
21
-**handler**`object` (required) - Handlers for different stages of the request lifecycle.
23
-
-**redirectionLimitReached**`boolean` (default: `false`) - A flag that the implementer can provide to enable or disable the feature. If set to `false`, it indicates that the caller doesn't want to use the feature and prefers the old behavior.
24
22
25
23
### Properties
26
24
@@ -30,7 +28,6 @@ Returns: `RedirectHandler`
30
28
-**maxRedirections**`number` - Maximum number of redirections allowed.
31
29
-**handler**`object` - Handlers for different stages of the request lifecycle.
32
30
-**history**`Array` - An array representing the history of URLs during redirection.
33
-
-**redirectionLimitReached**`boolean` - Indicates whether the redirection limit has been reached.
0 commit comments