Example #1
0
 public static bool IsNotFoundOrImplemented(this Ret.RetStatus status)
 => status.Code == HttpStatusCode.NotFound || status.Code == HttpStatusCode.NotImplemented;
Example #2
0
 public static bool IsRedirect(this Ret.RetStatus status)
 => ((int)status.Code / 100) == 3;
Example #3
0
 public static bool IsNotFound(this Ret.RetStatus status)
 => status.Code == HttpStatusCode.NotFound;