mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-25 10:51:57 +01:00
Implement cancel
This commit is contained in:
@@ -78,7 +78,6 @@ impl GrpcConnection {
|
||||
let path = method_desc_to_path(method);
|
||||
let codec = DynamicCodec::new(method.clone());
|
||||
client.ready().await.unwrap();
|
||||
|
||||
Ok(client
|
||||
.server_streaming(req, path, codec)
|
||||
.await
|
||||
|
||||
@@ -36,12 +36,6 @@ pub async fn fill_pool(
|
||||
.http2_only(true)
|
||||
.build(connector);
|
||||
|
||||
println!(
|
||||
"URI uri={} host={:?} authority={:?}",
|
||||
uri,
|
||||
uri.host(),
|
||||
uri.authority()
|
||||
);
|
||||
let mut client = ServerReflectionClient::with_origin(transport.clone(), uri.clone());
|
||||
let services = list_services(&mut client).await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user