Add both rustls and openssl client tls implementation

This commit is contained in:
Lucio Franco
2019-09-01 01:37:19 -04:00
parent d43b2a3c63
commit cc2fa986a6
9 changed files with 128 additions and 62 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let test_cases = matches.test_case;
let addr = "localhost:8080";
let origin = http::Uri::from_shared(format!("https://{}", addr).into()).unwrap();
let addr = "localhost:10000";
let origin = http::Uri::from_shared(format!("http://{}", addr).into()).unwrap();
let mut client = client::create(origin.clone()).await?;
let mut unimplemented_client = client::create_unimplemented(origin).await?;