easy-http-request 0.0.1

Easy to send HTTP/HTTPS requests.
Documentation

Easy HTTP Request

Build Status Build status

Easy to send HTTP/HTTPS requests.

Example

extern crate easy_http_request;

use std::collections::HashMap;

let response = easy_http_request::get("https://magiclen.org", None::<HashMap<&'static str, &'static str>>, None::<HashMap<&'static str, &'static str>>).unwrap();

println!("{}", response.status_code);
println!("{:?}", response.headers);
println!("{}", String::from_utf8(response.body).unwrap());

Crates.io

https://crates.io/crates/easy-http-request

Documentation

https://docs.rs/easy-http-request

License

MIT