A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
DioException
s with .unknown
instead of .connectionError
on SocketException
.options
argument for Options.compose
.BrowserHttpClientAdapter
.GET
request in web.sendTimeout
and onSendProgress
with an empty request body.receiveTimeout
not working correctly on web.ImplyContentTypeInterceptor
can be removed by Interceptors.clear()
by default.