dio 2.1.9
dio: ^2.1.9 copied to clipboard

A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.

2.1.9 #

  • support flutter version>=1.8 (fix #357)

2.1.8 #

  • fix #354 #312
  • Allow "delete" method with request body(#223)

2.1.7 #

  • fix #321 #318

2.1.6 #

2.1.5 #

2.1.4 #

  • Add options.responseDecoder
  • Make DioError catchable by implementing Exception instead of Error

2.1.3 #

Add statusMessage attribute for Response and ResponseBody

2.1.2 #

First Stable version for 2.x

2.0 #

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 and cookies for BaseOptions

Adapter

  • Abstract HttpClientAdapter layer.
  • Provide a DefaultHttpClientAdapter which make http requests by dart:io:HttpClient

0.1.8 #

  • change file name "TransFormer" to "Transformer"
  • change "dio.transFormer" to "dio.transformer"
  • change deprecated "UTF8" to "utf8"

0.1.5 #

  • add clear method for dio instance

0.1.4 #

  • fix download bugs

0.1.3 #

  • support upload files with Array
  • support create HttpClient by user self in onHttpClientCreate
  • support generic
  • bug fix

0.0.1 #

  • Initial version, created by Stagehand
1949
likes
60
pub points
99%
popularity

Publisher

flutterchina.club

A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cookie_jar

More

Packages that depend on dio