I need to resume a network.request call that was canceled by a system event. isrror=true caused by too slow internet speed
Of course I can download the file again, but then I have to start from scratch, i.e. download the whole file again. I want to download only the missing part of the file which I failed to download completely on the first attempt.
In the documentation it says: When your application suspends…You can work around this by saving the request you wish to make to a file upon suspension. Then, on an applicationResume event, check if there is a pending request saved and, if so, execute it.
The problem is that the documentation does not show how to do it!!!