IsSuccessStatusCode Method
Definition
- Namespace
- Cuemon.Extensions.Net
- Assemblies
- Cuemon.Extensions.Net.dll
IsSuccessStatusCode(HttpStatusCode)
Determines whether the specified statusCode is within the successful range.
public static bool IsSuccessStatusCode(this HttpStatusCode statusCode)
Parameters
statusCodeHttpStatusCodeThe HttpStatusCode to evaluate.
Returns
- bool
trueif HttpStatusCode was in the Successful range (200-299); otherwise,false.