FLUTTER ECOSYSTEM

fresh_http

An auto-refreshing http client. Built on top of package:http and manages authentication tokens transparently.

Latest version
0.1.0
30-day downloads
37.1K
Likes
1
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Fresh Http is a Flutter/Dart package that provides an auto-refreshing HTTP client built on top of the `http` package. It automatically handles authentication token refreshes, ensuring seamless API calls without manual token management. Ideal for apps requiring secure, persistent access to authenticated APIs, it reduces boilerplate and improves reliability by transparently refreshing expired tokens. The client integrates smoothly with existing HTTP workflows and supports all major platforms including web, mobile, and desktop.

Use cases
  • APIs requiring token refresh
  • Secure mobile and web applications
  • Reducing authentication boilerplate
  • Automated token management
  • Stateful API clients
Key features
  • Automatic token refresh
  • Built on `package:http`
  • Transparent auth handling
  • Cross-platform support
  • Minimal setup required
Suitable for
  • Apps with JWT or OAuth2
  • Developers seeking reduced auth complexity
  • Projects needing reliable API connectivity
  • Teams prioritizing developer experience
  • Applications with frequent API interactions
Considerations
  • Requires custom token refresh logic
  • Depends on external auth state management
  • Limited to HTTP-based APIs
  • Not suitable for one-off requests
  • Needs proper error handling in token refresh flow
Supported platformsAndroidiOSLinuxmacOSWebWindows

Install package

flutter pub add fresh_http

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.

Rankings