http_status_code library Null safety

Constants

retryableStatuses → const Set<int>
<int>{status408RequestTimeout, status429TooManyRequests, status500InternalServerError, status502BadGateway, status503ServiceUnavailable, status504GatewayTimeout, status440LoginTimeout, status499…
status100Continue → const int
100
status101SwitchingProtocols → const int
101
status102Processing → const int
102
status200OK → const int
200
status201Created → const int
201
status202Accepted → const int
202
status203NonAuthoritative → const int
203
status204NoContent → const int
204
status205ResetContent → const int
205
status206PartialContent → const int
206
status207Multistatus → const int
207
status208AlreadyReported → const int
208
status226IMUsed → const int
226
status300MultipleChoices → const int
300
status301MovedPermanently → const int
301
status302Found → const int
302
status303SeeOther → const int
303
status304NotModified → const int
304
status305UseProxy → const int
305
status306SwitchProxy → const int
306
status307TemporaryRedirect → const int
307
status308PermanentRedirect → const int
308
status400BadRequest → const int
400
status401Unauthorized → const int
401
status402PaymentRequired → const int
402
status403Forbidden → const int
403
status404NotFound → const int
404
status405MethodNotAllowed → const int
405
status406NotAcceptable → const int
406
status407ProxyAuthenticationRequired → const int
407
status408RequestTimeout → const int
408
status409Conflict → const int
409
status410Gone → const int
410
status411LengthRequired → const int
411
status412PreconditionFailed → const int
412
status413PayloadTooLarge → const int
413
status413RequestEntityTooLarge → const int
413
status414RequestUriTooLong → const int
414
status414UriTooLong → const int
414
status415UnsupportedMediaType → const int
415
status416RangeNotSatisfiable → const int
416
status416RequestedRangeNotSatisfiable → const int
416
status417ExpectationFailed → const int
417
status418ImATeapot → const int
418
status419AuthenticationTimeout → const int
419
status421MisdirectedRequest → const int
421
status422UnprocessableEntity → const int
422
status423Locked → const int
423
status424FailedDependency → const int
424
status426UpgradeRequired → const int
426
status428PreconditionRequired → const int
428
status429TooManyRequests → const int
429
status431RequestHeaderFieldsTooLarge → const int
431
status440LoginTimeout → const int
From IIS
440
status451UnavailableForLegalReasons → const int
451
status460ClientClosedRequest → const int
From AWS Elastic Load Balancer
460
status499ClientClosedRequest → const int
From ngnix
499
status500InternalServerError → const int
500
status501NotImplemented → const int
501
status502BadGateway → const int
502
status503ServiceUnavailable → const int
503
status504GatewayTimeout → const int
504
status505HttpVersionNotSupported → const int
505
status506VariantAlsoNegotiates → const int
506
status507InsufficientStorage → const int
507
status508LoopDetected → const int
508
status510NotExtended → const int
510
status511NetworkAuthenticationRequired → const int
511
status520WebServerReturnedUnknownError → const int
520
status521WebServerIsDown → const int
521
status522ConnectionTimedOut → const int
522
status523OriginIsUnreachable → const int
523
status524TimeoutOccurred → const int
524
status525SSLHandshakeFailed → const int
525
status526InvalidSSLCertificate → const int
526
status527RailgunError → const int
527
status598NetworkReadTimeoutError → const int
598
status599NetworkConnectTimeoutError → const int
599

Functions

isRetryable(int statusCode) bool