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