feat(tonic-web): implement grpc <-> grpc-web protocol translation (#455)

tonic-web enables tonic servers to handle requests from grpc-web 
clients directly, without the need of an external proxy. 

Co-authored-by: John Hernandez <[email protected]>
Co-authored-by: zancas <[email protected]>
This commit is contained in:
Juan Alvarez
2021-05-13 12:20:33 -05:00
committed by GitHub
co-authored by John Hernandez zancas
parent 352b0f584b
commit c309063254
24 changed files with 2445 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "web-interop"
version = "0.1.0"
authors = ["Juan Alvarez <[email protected]>"]
publish = false
edition = "2018"
[dependencies]
interop = { path = "../../interop" }
tonic = { path = "../../tonic" }
tonic-web = { path = "../tonic-web" }
tokio = { version = "1.0.1", features = ["rt-multi-thread", "macros"] }