commit | a81f08be942cdd608883c7b67795c12226abc235 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Dec 18 00:09:33 2014 |
committer | Natalie Weizenbaum <nweiz@google.com> | Thu Dec 18 00:09:33 2014 |
tree | 0774dec1b6c04c10521f503aeb57084f1340218c | |
parent | c21cc70776eb99b3b72176ab6ea69972f718b5a8 [diff] |
Update the pubspec's homepage link.
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); })); }