Add streaming example w/ client disconnect (#782)

This commit is contained in:
Lucio Franco
2021-10-07 17:04:26 -04:00
committed by GitHub
parent 5c1bb90ce8
commit 4604042934
3 changed files with 121 additions and 0 deletions
+8
View File
@@ -170,6 +170,14 @@ path = "src/grpc-web/server.rs"
name = "grpc-web-client"
path = "src/grpc-web/client.rs"
[[bin]]
name = "streaming-client"
path = "src/streaming/client.rs"
[[bin]]
name = "streaming-server"
path = "src/streaming/server.rs"
[dependencies]
tonic = { path = "../tonic", features = ["tls", "compression"] }
prost = "0.8"