Actually get server working (maybe)

This commit is contained in:
Carl Lerche
2017-08-09 10:49:49 -07:00
parent 8f2b69c280
commit f39e983af0
4 changed files with 16 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ pub fn main() {
.uri("https://http2.akamai.com/")
.body(()).unwrap();
let stream = client.request(request, true);
let stream = client.request(request, true).unwrap();
client.join(stream.and_then(|response| {
println!("GOT RESPONSE: {:?}", response);
Ok(())