tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

feat: refactor http as a configurable service

Open chilingling opened this issue 4 months ago • 1 comments

English | 简体中文

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • [ ] The commit message follows our Commit Message Guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)
  • [ ] Built its own designer, fully self-validated

PR Type

What kind of change does this PR introduce?

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Documentation content changes
  • [ ] Other... Please describe:

Background and solution

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • [ ] Yes
  • [ ] No

Other information

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced an HTTP service for improved user login and session management.
    • Added global error notification system for API call errors.
  • Improvements

    • Enhanced HTTP service configuration and error handling for better maintainability.
    • Streamlined the export structure for easier access to HTTP functionalities.
  • Bug Fixes

    • Improved handling of session expiration and error responses during API interactions.
  • Chores

    • Removed deprecated HTTP-related files to declutter the codebase.

chilingling avatar Sep 30 '24 03:09 chilingling