extended_http 0.3.5 copy "extended_http: ^0.3.5" to clipboard
extended_http: ^0.3.5 copied to clipboard

It extends HTTP package then combine with Hive to provide cache. It also supports authorization via custom headers.

Easy API with authorization and caching #

Test DryRun Publish PubVersion Issues

A Flutter HTTP package supports authorization and caching

Features #

  • Handle unauthorized requests by define onUnauthorized method
  • Specify when to retry the requests via shouldRetry & onError method
  • Cache API response (for GET requests)
  • Set request headers (such as: authorization token,...)
  • Set request baseURL (Ex: http://yourhost.com/api)
  • Set request timeout

All methods from BaseClient is inherited, including get, post, put, patch and more. See at BaseClient APIs.

Dependencies #

http

hive

Feel free to leave an issue if you need help or see something wrong in this package. #

4
likes
150
points
159
downloads

Publisher

verified publisherbesoft.vn

Weekly Downloads

It extends HTTP package then combine with Hive to provide cache. It also supports authorization via custom headers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, hive, hive_flutter, http

More

Packages that depend on extended_http