Search packages, repositories and app categories

Package detailsv2.0.5

df_http

Flutter networking helper package that extends the official http client with built-in retries, token refresh, and request/response processing for easier API integration.

AndroidiOSmacOS
30-day downloads
535
Likes
3
Pub points
160

Install package

flutter pub add df_http

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

df_http is a Flutter networking utility that enhances the official http client with built-in retry mechanisms, automatic token refresh, and streamlined request/response processing. Designed to simplify API integration, it reduces boilerplate code by handling common challenges like network failures and authentication expiry. The package supports Android, iOS, and macOS, making it ideal for cross-platform apps requiring robust and reliable HTTP communication.

Use cases

  • API integration in mobile apps
  • handling transient network errors
  • automated token refresh
  • request/response transformation
  • cross-platform HTTP clients
  • reducing boilerplate in API calls

Key features

  • Built-in retry logic
  • Automatic token refresh
  • Request/response interceptors
  • Cross-platform support
  • Simple configuration
  • Extends dart:io HttpClient

Suitable for

  • Developers building apps with REST APIs
  • Teams needing reliable network resilience
  • Projects requiring OAuth or JWT handling
  • Apps with frequent API interactions
  • Those seeking minimal setup for HTTP operations

Considerations

  • Requires understanding of HTTP interceptors
  • May need custom error handling for edge cases
  • Depends on underlying http package
  • Not suitable for non-HTTP protocols
  • Limited to HTTP-based services
  • Additional dependency overhead

Categories

Dependencies

Dependency list 2 items

Projects using this package

No data available yet.