http_wrap 1.1.1
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
fieldsvalues that areListorMapare now JSON-encoded before sending. - Added documentation notes clarifying multipart serialization behavior.
1.1.0 #
- Added
requestFilessupport for multipart uploads usingRequestFileFromPath,RequestFileFromBytes, andRequestFileFromString. - Deprecated the
filesparameter inrequest()in favor ofrequestFiles. - Kept backward compatibility for
filesso existing integrations continue to work. - Updated multipart request handling so requests switch to multipart mode when
requestFilesis provided. - Refactored request file type handling to clearer Dart pattern matching.
1.0.0 #
- Initial release of the
http_wrapplugin. - 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
HttpResponsehandling with optional error metadata (errorCode,errorData).