FLUTTER ECOSYSTEM

shelf_multipart

shelf_multipart parses multipart and form-data requests for shelf handlers.

Latest version
2.0.1
30-day downloads
32.9K
Likes
37
Pub points
160

Package Overview

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

Overview

shelf_multipart is a Dart package that enables parsing of multipart and form-data requests within Shelf-based servers. It integrates seamlessly with the Shelf framework, allowing developers to handle file uploads and complex form data efficiently. Designed for server-side HTTP handling, it supports all major platforms including web, mobile, and desktop. The package simplifies processing incoming data from clients sending files or structured forms via HTTP POST requests.

Use cases
  • Handling file uploads in web servers
  • Parsing form-data from HTTP POST requests
  • Processing multipart content in REST APIs
  • Supporting user profile updates with images
  • Building backend services for mobile apps
Key features
  • Efficient multipart parsing
  • Seamless Shelf integration
  • Cross-platform support
  • Handles file and field data
  • Lightweight and fast
Suitable for
  • Shelf-based server applications
  • Backend services requiring file uploads
  • APIs receiving form-data
  • Full-stack Flutter applications
  • Developers using Dart for server logic
Considerations
  • Requires Shelf framework
  • Not suitable for standalone client use
  • Limited to HTTP server scenarios
  • No built-in validation
  • Depends on goodies.dart ecosystem
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add shelf_multipart

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects