Example #1
0
 private static IResponse Status(this IIs @this, int statusCode)
 => ((IHas)@this).Status(statusCode);
Example #2
0
 public static IResponse PaymentRequired(this IIs @this)
 => @this.Status(402);
Example #3
0
 public static IResponse NotFound(this IIs @this)
 => @this.Status(404);
Example #4
0
 public static IResponse RedirectKeepVerb(this IIs @this)
 => @this.Status(307);
Example #5
0
 public static IResponse BadRequest(this IIs @this)
 => @this.Status(400);
Example #6
0
 public static IResponse SeeOther(this IIs @this)
 => @this.Status(303);
Example #7
0
 public static IResponse UseProxy(this IIs @this)
 => @this.Status(305);
Example #8
0
 public static IResponse NonAuthoritativeInformation(this IIs @this)
 => @this.Status(203);
Example #9
0
 public static IResponse NoContent(this IIs @this)
 => @this.Status(204);
Example #10
0
 public static IResponse Created(this IIs @this)
 => @this.Status(201);
Example #11
0
 public static IResponse Accepted(this IIs @this)
 => @this.Status(202);
Example #12
0
 public static IResponse OK(this IIs @this)
 => @this.Status(200);
Example #13
0
 public static IResponse SwitchingProtocols(this IIs @this)
 => @this.Status(101);
Example #14
0
 public static IResponse Continue(this IIs @this)
 => @this.Status(100);
Example #15
0
 public static IResponse Redirect(this IIs @this)
 => @this.Status(302);
Example #16
0
 public static IResponse ResetContent(this IIs @this)
 => @this.Status(205);
Example #17
0
 public static IResponse RedirectMethod(this IIs @this)
 => @this.Status(303);
Example #18
0
 public static IResponse PartialContent(this IIs @this)
 => @this.Status(206);
Example #19
0
 public static IResponse NotModified(this IIs @this)
 => @this.Status(304);
Example #20
0
 public static IResponse Ambiguous(this IIs @this)
 => @this.Status(300);
Example #21
0
 public static IResponse Unused(this IIs @this)
 => @this.Status(306);
Example #22
0
 public static IResponse MultipleChoices(this IIs @this)
 => @this.Status(300);
Example #23
0
 public static IResponse TemporaryRedirect(this IIs @this)
 => @this.Status(307);
Example #24
0
 public static IResponse Moved(this IIs @this)
 => @this.Status(301);
Example #25
0
 public static IResponse Unauthorized(this IIs @this)
 => @this.Status(401);
Example #26
0
 public static IResponse MovedPermanently(this IIs @this)
 => @this.Status(301);
Example #27
0
 public static IResponse Forbidden(this IIs @this)
 => @this.Status(403);
Example #28
0
 public static IResponse Found(this IIs @this)
 => @this.Status(302);
Example #29
0
 public static IResponse MethodNotAllowed(this IIs @this)
 => @this.Status(405);
Example #30
0
 public static IResponse HttpVersionNotSupported(this IIs @this)
 => @this.Status(505);