Comments (9)
There are two ways to learn what's the latest version:
- From pub: https://pub.dartlang.org/packages/dio
- From the doc:
from dio.
thank you!!
from dio.
I have another question, if I have many requests at the same time,need I new many dio objects? or ,one object can do many requests at the same time?
from dio.
Yes! one instance can do many requests. Most of time, you just need to create one instance to perform all requests. Only When you need different default config for different requests, you should create different instances, because different instance with different default config(Options
) that you can set。
from dio.
OK,I know, thank you very much!
from dio.
when I changed the version to the latest version 0.1.7, I receieved the below error:
Running "flutter packages get" in flutter_wanandroid...
Because flutter_wanandroid depends on dio ^0.1.7 which doesn't match any versions, version solving failed.
pub get failed (1)
Process finished with exit code 1
this is the file of the dependencies for my project:
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.0
dio: ^0.1.7
from dio.
Hi I have a same problem as @yuyao comment.
when I updated dio version in pubspec.yaml file as 'dio: ^0.1.7'
Some error happened
/Flutter/flutter/bin/flutter --no-color packages get
Running "flutter packages get" in monitoring...
Because monitoring depends on dio ^0.1.7 which doesn't match any versions, version solving failed.
pub get failed (1)
Process finished with exit code 1
Could someone help me ? thank you.
from dio.
@juyao @zll33 Please try again ! I have succeed just now in my box.
from dio.
The current Dart SDK version is 2.1.0-dev.1.0.flutter-ccb16f7282.
depends on dio >=0.0.2 <0.1.1 which requires SDK version >=1.20.1 <2.0.0, version solving failed.
pub get failed (1)
from dio.
Related Issues (20)
- I can't use MediaType when I create MultipartFile HOT 1
- Update for wasm HOT 1
- Implement automatic redirects for requests regardless of the `HttpClient`
- Migrating browser_adapter.dart for WASM HOT 2
- Remove the message 'The request was manually cancelled by the user.' for canceltoken.cancel() HOT 1
- Target of URI doesn't exist: 'package:dio/adapter.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist. HOT 1
- Dio (HttpClient) cannot set a self-signed trust certificate HOT 4
- [Proposal] Improve toString() of InterceptorState
- Cronet exception: m.ms: Exception in CronetUrlRequest: net::ERR_CONNECTION_CLOSED, ErrorCode=5 HOT 2
- 503 Status Code With the Https base URL HOT 1
- DIo not working while adding extras in requestOptions with path in Dio singleton HOT 3
- Type Casting Error: '_Map<String, dynamic>' is not a Subtype of 'T?' HOT 1
- Issue with API call when android device is connected via wifi. HOT 1
- Uploading with FormData throws a TypeError: type 'List<int>' is not a subtype of type 'Uint8List' of 'value' HOT 6
- Opportunity to improve the json decoding performance HOT 3
- FormData and List of Int not working as expected. HOT 2
- flutter dynamic coockies management HOT 1
- post请求超时无反应 HOT 1
- Error Dio flutter web HOT 1
- upload file send timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dio.