shelf_essentials 1.0.1 copy "shelf_essentials: ^1.0.1" to clipboard
shelf_essentials: ^1.0.1 copied to clipboard

Essential utilities and middleware for building web servers with Shelf in Dart and Flutter.

1.0.1 #

  • Add CORS headers middleware for cross-origin request support
  • Add corsHeaders() middleware function with origin validation
  • Add originAllowAll() for unrestricted CORS
  • Add originOneOf() for origin whitelist validation
  • Improve dartdoc documentation for all public APIs
  • Enhance README with CORS usage examples and API reference

1.0.0 #

  • Initial release
  • Add RequestExtension with methods for reading body, parsing JSON, handling form data
  • Add HttpMethod enum for type-safe HTTP method handling
  • Add FormData class for parsing URL-encoded and multipart form data
  • Add UploadedFile class for accessing uploaded files
  • Add UnsupportedHttpMethodException for unsupported HTTP methods
3
likes
160
points
216
downloads

Publisher

verified publisherkarindam.in

Weekly Downloads

Essential utilities and middleware for building web servers with Shelf in Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#dart #flutter #shelf #backend #web-server

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

http_parser, mime, shelf

More

Packages that depend on shelf_essentials