Search packages, repositories and app categories

Package detailsv2.0.2

shelf_multipart

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
40.5K
Likes
37
Pub points
160

Install package

flutter pub add shelf_multipart

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Goodies

A collection of small Dart packages that I'm maintaining.

In this repository:

  • shelf_multipart, small wrappers to handle multipart and multipart/form-data requests in a shelf handler.
  • weblocks, a cross-platform implementation of the web locks API. It provides asynchronous locks without prior communication across isolates.
  • jaspr_content_snippets, a <Snippet /> tag for jaspr_content that uses the Dart analyzer to highlight sources and supports deriving snippets from source files.

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package