tio 0.8.0 copy "tio: ^0.8.0" to clipboard
tio: ^0.8.0 copied to clipboard

A simple wrapper for dio with response typing and full backward compatibility. Inspired by chopper.

0.8.0 #

  • pre-release
  • Some refactoring
  • TioFactoryConfig now receiving factories in first positional argument, instead of named
  • TioService renamed to TioApi and hot additional functionality
  • TioApi now mirrors common request methods with applying TioApi.path property as prefix of path
  • Reworded error system. Now Tio using DioException as base error.

0.7.1 #

  • fix static analysis

0.7.0 #

  • update README.md
  • added RefreshableAuthInterceptor.onFailureRefresh
  • added TioResponse.map map
  • fix TioExceptions thrown from interceptors
  • refactor TioResponse.withSuccess method

0.6.1 #

  • fix web compability

0.6.0 #

  • remove Response.contentType extension getter for web compability

0.5.0 #

  • update README.md
  • changes in error factories

0.4.0 #

  • update README.md
  • update analysis_options.yaml
  • more informative TioError error
  • Tio.withInterceptors now factory constructor
  • added head method
  • added some tests

0.3.0 #

  • update README.md
  • update pubspec.yaml topics
  • added ResponseOptions.toOptions extension method
  • added Dio.restart extension method
  • added github workflows
  • fix code styles

0.2.0 #

  • update README.md
  • update pubspec.yaml topics
  • fix tests
  • added List.check
  • added Response.contentType extension getter

0.1.1 #

  • Update README.md
  • Add LICENSE
  • Remove unused private TioException constructor
  • Wildcard unused variable

0.1.0 #

  • Initial version.
0
likes
120
pub points
16%
popularity

Publisher

unverified uploader

A simple wrapper for dio with response typing and full backward compatibility. Inspired by chopper.

Repository (GitHub)
View/report issues

Topics

#dio #api #client #rest

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, logging

More

Packages that depend on tio