http_wrap 1.1.1 copy "http_wrap: ^1.1.1" to clipboard
http_wrap: ^1.1.1 copied to clipboard

A flutter plugin for wrapping HTTP requests and responses, providing a unified interface for handling network communication in Flutter applications.

1.1.1 #

  • Fixed multipart form field serialization for complex values.
  • Multipart fields values that are List or Map are now JSON-encoded before sending.
  • Added documentation notes clarifying multipart serialization behavior.

1.1.0 #

  • Added requestFiles support for multipart uploads using RequestFileFromPath, RequestFileFromBytes, and RequestFileFromString.
  • Deprecated the files parameter in request() in favor of requestFiles.
  • Kept backward compatibility for files so existing integrations continue to work.
  • Updated multipart request handling so requests switch to multipart mode when requestFiles is provided.
  • Refactored request file type handling to clearer Dart pattern matching.

1.0.0 #

  • Initial release of the http_wrap plugin.
  • Added a simple request wrapper with support for headers, query params, and request body fields.
  • Added multipart/form-data support for file uploads.
  • Added unified HttpResponse handling with optional error metadata (errorCode, errorData).
0
likes
0
points
304
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter plugin for wrapping HTTP requests and responses, providing a unified interface for handling network communication in Flutter applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on http_wrap

Packages that implement http_wrap