The documentation about the PostAsync method of the HttpClient is a bit...on the low side.
I'm wondering about the behaviour of it: Does it bring any exceptions in case of timeout or when the Website called throws an exception? If not what happens in These cases?
As example
using (HttpClient Client = new HttpClient())
{
var result = Client.PostAsync(url, content).Result;
}
The site called sometime throws exceptions or in the case of high traffic times out. I'm not sure what the result is then. Do I get exceptions, "endless Loop" (thus timeouts don't occur), or is just the result empty if exceptions are thrown or a timeout occurs?