Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

async/await unstable

$
0
0

Hi!

I'm using async/await and the HttpClient-library.

var content = await client.GetStringAsync(relativeUrl);

However I find the line above to be very unstable. It can work fine for weeks on end but then all of a sudden it hangs/never returns and the task is cancelled. There is nothing wrong with the server, other clients work just fine.

Is there any known issues using async/await and the HttpClient in xamarin for android?

Thanks

Johan


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>