Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegql_http_link

HTTP link for executing GraphQL requests via JSON.

pub.devRemove
http2

An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

pub.devRemove
ScoresHealth7591 (best)
Maintenance5199 (best)
Quality9193 (best)
Popularity7388 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)518k965k (best)
Likes2197 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars2711.1k (best)
MaintenanceLatest release1.2.0, a year ago3.2.0, 4 days ago (best)
Major versions in 12 months0 (best)1
Contributors39100+ (best)
Publishergql-dart.devdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies64 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Zero‑dependency on heavy HTTP clients; uses Dart's http package.
  • Fast JSON decoding via _JsonUtf8Decoder.
  • Composable with other gql_link links.
  • Supports multipart uploads and GET queries.
  • Supports multiplexing multiple requests over a single connection
  • Includes `Http2Client` for pooled `package:http` compatibility
  • Provides fine-grained control over frames, streams, and transport connections
Weaknesses
  • Limited to HTTP; no WebSocket support.
  • No built‑in retry or caching logic.
  • Requires manual error handling for non‑200 responses.
  • Does not fall back to HTTP/1.1 if a server fails to negotiate HTTP/2
  • Requires handling low-level byte streams and header framing for custom requests
Warnings
  • Quiet but busy
None
gql_http_link vs http2: which Flutter package should you use? | pubscout