mapbox / mapbox-sdk-cs

C# libraries for Mapbox API layer
https://mapbox.github.io/mapbox-sdk-cs/
Other
20 stars 11 forks source link

some time network is bad,so can't load image ,i wish it can load several times #69

Closed veyvin closed 7 years ago

veyvin commented 7 years ago

Coroutines can't return any values since its return type must be IEnumerator. Coroutines can't handle exceptions because yield return statements cannot be surrounded with a try-catch construction. this will help https://github.com/neuecc/UniRx

wilhelmberg commented 7 years ago

@veyvin there is work in progress going on about refactoring HTTP requests in the BergWerkGIS-multithread-filesource branch.

Under the hood it uses multithreaded HttpWebRequest.

The new Response class will have additional properties (HasError, RateLimitHit, Execeptions, ... ) that you can query and then decide if you want to re-issue a certain request.