Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_multipart

Parses multipart and form-data requests for shelf handlers.

pub.devRemove
shelf_web_socket

Shelf handler that upgrades HTTP to WebSocket and provides a WebSocketChannel per connection.

pub.devRemove
ScoresHealth83 (best)79
Maintenance87 (best)53
Quality100100
Popularity6994 (best)
Community5280 (best)
Compatibility100 (best)85
UsageDownloads (30 days)42k14M (best)
Likes37158 (best)
Pub points160 / 160160 / 160
GitHub stars171k (best)
MaintenanceLatest release2.0.2, 3 weeks ago (best)3.0.0, 2 years ago
Major versions in 12 months00
Contributors360 (best)
Publishersimonbinder.eutools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies43 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Provides type safety around multipart checks using extension types
  • Easy iteration over request parts and form data parameters
  • Integrates seamlessly with the shelf ecosystem
  • Easy integration with existing Shelf middleware
  • Type-safe callback signature
  • Supports pingInterval and protocol negotiation
  • No additional dependencies beyond shelf and web_socket_channel
Weaknesses
  • Limited to the shelf package ecosystem
  • Breaking change in 3.0.0 requires callback signature update
  • Limited to Shelf; not a full-featured WebSocket server framework
  • No built-in authentication or routing for WebSocket paths
WarningsNone
  • Quiet but busy
shelf_multipart vs shelf_web_socket: which Flutter package should you use? | pubscout