Method ExtInternet.Text
Overload
Gets content text as string. Downloads it if need.
public static string Text(this HttpResponseMessage t, bool ignoreError = false)
Parameters
| t (HttpResponseMessage) |
| ignoreError (bool) |
Returns
Exceptions
|
HttpRequestException
Failed HTTP request. No exception if ignoreError |
|
Exception
Exceptions of System.Net.Http.HttpContent.ReadAsStringAsync. |