I really want to commend the great work done with this package. Please how do i send multiple requests using Dio.
A dio instance can send multiple requests.
var dio = new Dio();
dio.get(...).then(...);
dio.post(...).then(...);
...
Sorry i meant sending multiple requests simultaneously.
response = await Future.wait([dio.post("/info"), dio.get("/token")]);
This is exactly what i've been looking for. Thanks immensely @wendux for this great information.
I really appreciate.
Most helpful comment