talira

Compare

dio_cache_interceptordiohttp2 (Dart)retrofit.dart
What it isHTTP cache interceptor for Dart's dio client, with pluggable storesHTTP client for Dart and Flutter with interceptors, FormData and cancellationHTTP/2 implementation for Dart, with a pooled, multiplexing http.ClientType-safe HTTP client generator for Dart, built for dio
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.450.530.670.51
Stars1561284211141179
Last commit2026-11-272026-10-192026-11-252026-11-15
LicenceApache-2.0MITBSD-3-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyllfbanditChinese Flutter User GroupGoogle
public company (NASDAQ:GOOGL)
Trevor Wang
Features
  • respects ETag, Last-Modified, Cache-Control and Expires
  • cache policies that can ignore HTTP directives
  • in-memory LRU store and file, Drift, Hive, Isar, ObjectBox, Sembast and MMKV stores
  • the same cache for the http package
  • global defaults: base URL, headers, timeouts
  • interceptors, including QueuedInterceptor and LogInterceptor
  • FormData and multiple file uploads with progress
  • file downloads and streamed responses
  • request cancellation
  • custom transformers
  • proxy settings and HTTPS certificate verification
  • swappable HttpClientAdapter
  • All 9 features
  • HTTP/2 client and server transport over a bidirectional byte stream
  • Http2Client: a package:http Client that pools and multiplexes requests over shared HTTP/2 connections
  • one connection per host and port, reused across requests
  • annotations such as @RestApi, @GET and @POST to declare an API
  • code generation with build_runner and source_gen
  • built on the dio HTTP client
  • pluggable response parsers, with json_serializable by default
Limitations
      • Http2Client speaks only HTTP/2 and doesn't fall back to HTTP/1.1: a server that doesn't negotiate h2 is an error.