I use Dio for networking in Flutter.
I tried to find a way to set the maximum number of concurrent requests. I looked to BaseOptions and RequestOptions, but it seems there's no option.
How can I set that? Thank you.
I use Dio for networking in Flutter.
I tried to find a way to set the maximum number of concurrent requests. I looked to BaseOptions and RequestOptions, but it seems there's no option.
How can I set that? Thank you.
It seems that there is no option related to limit of concurrent requests.
But I have a one idea to implement concurrent request limit by using 'QueuedInterceptor' .
(I am not sure that it works well)
https://github.com/flutterchina/dio#queuedinterceptor
I think that add a interceptor to dio instance and can control request and response count.