Getting multiple URLs concurrently with Hyper
问题 I am trying to adapt the Hyper basic client example to get multiple URLs concurrently. This is the code I currently have: extern crate futures; extern crate hyper; extern crate tokio_core; use std::io::{self, Write}; use std::iter; use futures::{Future, Stream}; use hyper::Client; use tokio_core::reactor::Core; fn get_url() { let mut core = Core::new().unwrap(); let client = Client::new(&core.handle()); let uris: Vec<_> = iter::repeat("http://httpbin.org/ip".parse().unwrap()).take(50).collect