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)
- How to use handler.reject in onError of QueuedInterceptor HOT 1
- [native_dio_adapter] Exception fetching LoggerImpl class HOT 4
- http请求头不标准,大小写全部错误 HOT 1
- Error using interceptors HOT 1
- [native_dio_adapter] update cronet_http version HOT 1
- Dio REST call response is slow than Postman HOT 5
- Response Header is missing except content-length & content-type HOT 5
- dio https connect can not keep Alive? HOT 13
- onError not working in dio interceptor HOT 5
- 当频繁出现连接和读取异常时,socket句柄无法正常释放 HOT 2
- 当后端返回字节流dio无法解析
- Memory issue when sharing CancelToken between posts for IO implementation HOT 2
- The getter 'requestLock' isn't defined for the type 'Interceptors'. HOT 1
- How can I avoid the cooking value to expanded on each retry? HOT 1
- Cannot add values to dio data inside interceptor HOT 1
- Bad state: Cannot add event after closing HOT 2
- Error: Exception in Java code called through JNI: java.lang.RuntimeException: All available Cronet providers are disabled. A provider should be enabled before it can be used. HOT 1
- socketexception: connection reset by peer (os error: connection reset by peer, errno = 104), address = xxxxx HOT 1
- Dio cannot resolve hostname http://127.0.0.1.lambdatest:port HOT 7
- Unexpected Behavior with ErrorInterceptor Not Catching DioException on Retried Requests HOT 19
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.