smart_http 1.0.6 copy "smart_http: ^1.0.6" to clipboard
smart_http: ^1.0.6 copied to clipboard

A dart wrapper around dio to handle http requests along with cancelable api for bloc and repository.

[1.0.6] #

  • fix: removed all dart:io dependencies to make it compatible with web.

[1.0.5] #

  • fix: path version incompatiblility with flutter_test.

[1.0.4] #

  • chore: bumped versions of dependencies.
  • fix: removed dart:io dependency to make it compatible with web.

[1.0.3] #

  • chore: made HttpClient.mapError public.
  • chore: added HttpException.code to set http status codes.
  • fix: used the original http error message when passing to HttpException instead of a default message

[1.0.2] #

  • chore: made HttpClient.decodeErrorData public.
  • chore: moved CancelableBlocMixin.tryIt to extension method.
  • chore: made HttpClientConfig equatable.
  • fix: handled type casting issue in HttpClient.decodeData which will throw a TypeMismatchException with the data that was unable to cast.

[1.0.1] #

  • chore: made decodeErrorMessage public.

[1.0.0+3] #

  • chore: updated dependencies.

[1.0.0+2] #

  • chore: made HttpClient.successCodes public.

[1.0.0+1] #

  • refactor: Hide private extension methods.

[1.0.0] #

  • Initial stable release.

[0.0.3] #

  • Updated dependencies.

[0.0.2] #

  • Added example.

[0.0.1] #

  • initial release.
1
likes
150
points
140
downloads

Publisher

unverified uploader

Weekly Downloads

A dart wrapper around dio to handle http requests along with cancelable api for bloc and repository.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bloc, dio, equatable, http_parser, mime_type, path, uuid

More

Packages that depend on smart_http