Table of Contents

IsRedirectionStatusCode Method

Definition

Namespace
Cuemon.Extensions.Net
Assemblies
Cuemon.Extensions.Net.dll
Source
src/Cuemon.Extensions.Net/HttpStatusCodeExtensions.cs

IsRedirectionStatusCode(HttpStatusCode)

Determines whether the specified statusCode is within the redirecting range.

public static bool IsRedirectionStatusCode(this HttpStatusCode statusCode)

Parameters

statusCode HttpStatusCode

The HttpStatusCode to evaluate.

Returns

bool

true if HttpStatusCode was in the Redirection range (300-399); otherwise, false.