|
| 1 | +<?php |
| 2 | + |
| 3 | +declare(strict_types=1); |
| 4 | + |
| 5 | +namespace Foundation\Support\Enums\V1\StatusCode; |
| 6 | + |
| 7 | +use Foundation\Support\Traits\V1\CleanEnum\CleanEnum; |
| 8 | + |
| 9 | +enum StatusCode: int |
| 10 | +{ |
| 11 | + use CleanEnum; |
| 12 | + |
| 13 | + case HttpContinue = 100; |
| 14 | + case HttpSwitchingProtocols = 101; |
| 15 | + case HttpProcessing = 102; |
| 16 | + case HttpEarlyHints = 103; |
| 17 | + case HttpOk = 200; |
| 18 | + case HttpCreated = 201; |
| 19 | + case HttpAccepted = 202; |
| 20 | + case HttpNonAuthoritativeInformation = 203; |
| 21 | + case HttpNoContent = 204; |
| 22 | + case HttpResetContent = 205; |
| 23 | + case HttpPartialContent = 206; |
| 24 | + case HttpMultiStatus = 207; |
| 25 | + case HttpAlreadyReported = 208; |
| 26 | + case HttpImUsed = 226; |
| 27 | + case HttpMultipleChoices = 300; |
| 28 | + case HttpMovedPermanently = 301; |
| 29 | + case HttpFound = 302; |
| 30 | + case HttpSeeOther = 303; |
| 31 | + case HttpNotModified = 304; |
| 32 | + case HttpUseProxy = 305; |
| 33 | + case HttpReserved = 306; |
| 34 | + case HttpTemporaryRedirect = 307; |
| 35 | + case HttpPermanentlyRedirect = 308; |
| 36 | + case HttpBadRequest = 400; |
| 37 | + case HttpUnauthorized = 401; |
| 38 | + case HttpPaymentRequired = 402; |
| 39 | + case HttpForbidden = 403; |
| 40 | + case HttpNotFound = 404; |
| 41 | + case HttpMethodNotAllowed = 405; |
| 42 | + case HttpNotAcceptable = 406; |
| 43 | + case HttpProxyAuthenticationRequired = 407; |
| 44 | + case HttpRequestTimeout = 408; |
| 45 | + case HttpConflict = 409; |
| 46 | + case HttpGone = 410; |
| 47 | + case HttpLengthRequired = 411; |
| 48 | + case HttpPreconditionFailed = 412; |
| 49 | + case HttpRequestEntityTooLarge = 413; |
| 50 | + case HttpRequestUriTooLong = 414; |
| 51 | + case HttpUnsupportedMediaType = 415; |
| 52 | + case HttpRequestedRangeNotSatisfiable = 416; |
| 53 | + case HttpExpectationFailed = 417; |
| 54 | + case HttpIAmATeapot = 418; |
| 55 | + case HttpMisdirectedRequest = 421; |
| 56 | + case HttpUnprocessableEntity = 422; |
| 57 | + case HttpLocked = 423; |
| 58 | + case HttpFailedDependency = 424; |
| 59 | + case HttpTooEarly = 425; |
| 60 | + case HttpUpgradeRequired = 426; |
| 61 | + case HttpPreconditionRequired = 428; |
| 62 | + case HttpTooManyRequests = 429; |
| 63 | + case HttpRequestHeaderFieldsTooLarge = 431; |
| 64 | + case HttpUnavailableForLegalReasons = 451; |
| 65 | + case HttpInternalServerError = 500; |
| 66 | + case HttpNotImplemented = 501; |
| 67 | + case HttpBadGateway = 502; |
| 68 | + case HttpServiceUnavailable = 503; |
| 69 | + case HttpGatewayTimeout = 504; |
| 70 | + case HttpVersionNotSupported = 505; |
| 71 | + case HttpVariantAlsoNegotiatesExperimental = 506; |
| 72 | + case HttpInsufficientStorage = 507; |
| 73 | + case HttpLoopDetected = 508; |
| 74 | + case HttpNotExtended = 510; |
| 75 | + case HttpNetworkAuthenticationRequired = 511; |
| 76 | +} |
0 commit comments