Add docs to transport and refactor some api's

This commit is contained in:
Lucio Franco
2019-09-29 17:04:42 -04:00
parent 1d9e3daa07
commit a35ef96a03
16 changed files with 485 additions and 233 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
endpoint.openssl_tls(ca, Some("foo.test.google.fr".into()));
}
let channel = endpoint.channel()?;
let channel = endpoint.channel();
let mut client = client::TestClient::new(channel.clone());
let mut unimplemented_client = client::UnimplementedClient::new(channel);