commit | a4c38db4b02c60bfac35c4cd19241066d88cca1c | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Tue Dec 08 20:15:24 2020 |
committer | GitHub <noreply@github.com> | Tue Dec 08 20:15:24 2020 |
tree | a0f162729e722ec593ac89eb5526d410644ee204 | |
parent | a3aa6371f0d84b474c7aeb086de70452e26fe9d5 [diff] |
Delete .travis.yml
http_throttle
is middleware for the http package that throttles the number of concurrent requests that an HTTP client can make.
// This client allows 32 concurrent requests. final client = new ThrottleClient(32); Future<List<String>> readAllUrls(Iterable<Uri> urls) { return Future.wait(urls.map((url) { // You can safely call as many client methods as you want concurrently, and // ThrottleClient will ensure that only 32 underlying HTTP requests will be // open at once. return client.read(url); })); }