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