Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributehttp2

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

pub.devRemove
shelf_enforces_ssl

Middleware that blocks non-HTTPS requests to a Shelf or Dart Frog server.

pub.devRemove
ScoresHealth91 (best)43
Maintenance99 (best)0
Quality9396 (best)
Popularity89 (best)18
Community80 (best)35
Compatibility85100 (best)
UsageDownloads (30 days)967k (best)825
Likes97 (best)10
Pub points150 / 160150 / 160
GitHub stars1.1k (best)7
MaintenanceLatest release3.2.0, 5 days ago (best)1.2.1, 3 years ago
Major versions in 12 months10 (best)
Contributors100+ (best)0
Publisherdart.devjxstxn.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • 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
  • Simple to add to existing Shelf pipelines
  • Supports custom error responses
  • Compatible with Dart 3 and newer
  • No build_runner or code generation required
Weaknesses
  • 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
  • Only works with Shelf or Dart Frog
  • Does not handle HTTPS termination at load balancers
  • No support for other server frameworks
WarningsNoneNone
http2 vs shelf_enforces_ssl: which Flutter package should you use? | pubscout