Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(http_status): Add methods to check HTTP status code ranges of Class HttpStatus #9

Merged
merged 11 commits into from
Feb 17, 2024

Conversation

tech-andgar
Copy link
Contributor

This commit adds new methods to the HttpStatus class that allow checking if a given HTTP status code falls within specific ranges. The added methods include isInformationHttpStatusCode, isSuccessfulHttpStatusCode, isRedirectHttpStatusCode, isClientErrorHttpStatusCode, and isServerErrorHttpStatusCode. These methods will be useful for determining the category of an HTTP status code without having to manually compare it against each range.

tech-andgar and others added 4 commits February 16, 2024 20:51
This commit adds new methods to the `HttpStatus` class that allow checking if a given HTTP status code falls within specific ranges. The added methods include `isInformationHttpStatusCode`, `isSuccessfulHttpStatusCode`, `isRedirectHttpStatusCode`, `isClientErrorHttpStatusCode`, and `isServerErrorHttpStatusCode`. These methods will be useful for determining the category of an HTTP status code without having to manually compare it against each range.
feat(http_status): Add methods to check HTTP status code ranges
feat(CHANGELOG): Update for version 3.1.0
@coveralls
Copy link

coveralls commented Feb 17, 2024

Pull Request Test Coverage Report for Build 7942965863

Details

  • 0 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7903581880: 0.0%
Covered Lines: 30
Relevant Lines: 30

💛 - Coveralls

@tech-andgar tech-andgar changed the title feat(http_status): Add methods to check HTTP status code ranges feat(http_status): Add methods to check HTTP status code ranges of Class HttpStatus Feb 17, 2024
Introduced a new GitHub Actions workflow for automatic publishing to pub.dev upon tagging. The workflow triggers on push events with version-like tags and uses the dart-lang/setup-dart action.
@tech-andgar tech-andgar merged commit 0a4fe1e into DartForge:main Feb 17, 2024
5 checks passed
@tech-andgar tech-andgar removed the request for review from andcan February 17, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants