Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Keeping track of http.request() success/failure with mutiple files?

edited April 2020 in Suggestions Posts: 645

@Simeon, i started to use http.request() to load in some files from a filesever. This all works very well and is a quite powerful way to load data into my program as the files don't have to be locally on the ipad. This all works nicely.

My problem is that i load in five files and they load in asynchrously calling callbacks depending whether the file is loaded with success or failure. As things are, i don't really see a way to keep track of which of my multiple files have loaded successfully or not. A solution would be if the callback also passed the URLname back to the success/failure callbacks. That way i could keep track of which of the files worked or did not.

Tagged:

Comments

Sign In or Register to comment.