Current Behavior
I need to make a re-request after 4xx & 5xx errors. I read the doc and followed the example. And it works. But I don't understand some points.
Expected Behavior
I want more flexible control of intercepted requests.
- Loop. If there is a request error again, there will be an interception and a new request. This is a loop. Am I understanding correctly? If not, how can this behavior be controlled?
- Delay. How to call an intercepted request after a certain period of time?
How to reproduce
Just run the app and use this tool.
Your Environment
| software |
version |
| react-native-offline |
^6.0.0 |
| react-native |
0.67.2 |
| node |
16.16.0 |
| yarn |
1.22.19 |
Current Behavior
I need to make a re-request after 4xx & 5xx errors. I read the doc and followed the example. And it works. But I don't understand some points.
Expected Behavior
I want more flexible control of intercepted requests.
How to reproduce
Just run the app and use this tool.
Your Environment