Refactor the Interceptors
- Support add Multiple Interceptors.
- Add Log Interceptor
- Add CookieManager Interceptor
API
- Support Uri
- Support
queryParameters
for all request API - Modify the
get
API
Options
- Separate Options to three class: Options、BaseOptions、RequestOptions
- Add
queryParameters
andcookies
for BaseOptions
Adapter
- Abstract HttpClientAdapter layer.
- Provide a DefaultHttpClientAdapter which make http requests by
dart:io:HttpClient
- change file name "TransFormer" to "Transformer"
- change "dio.transFormer" to "dio.transformer"
- change deprecated "UTF8" to "utf8"
- add
clear
method for dio instance
- fix
download
bugs
- support upload files with Array
- support create
HttpClient
by user self inonHttpClientCreate
- support generic
- bug fix
- Initial version, created by Stagehand