make_hyper_great_again 0.11.1

Wrap async hyper back to the good ol' days.
Documentation

make_hyper_great_again

Wrap async hyper back to the good ol' days.

extern crate make_hyper_great_again as mhga;

use mhga::Client;
use std::io::Read;

fn main() {
  let client = Client::new().unwrap(); // only new thing is that this returns a Result

  let mut response = client.get("http://example.com").send().unwrap();
  let mut content = String::new();
  response.read_to_string(&mut content).unwrap();

  println!("{}", content);
}

See /examples/ for more examples.