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