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
+19
View File
@@ -0,0 +1,19 @@
{
"name": "grpc-web-interop-test",
"version": "0.1.0",
"description": "gRPC-Web Interop Test Client",
"license": "Apache-2.0",
"private": true,
"scripts": {
"test": "mocha -b --timeout 500 ./interop_client.js"
},
"dependencies": {
"google-protobuf": "~3.14.0",
"grpc-web": "~1.2.1"
},
"devDependencies": {
"minimist": "~1.2.5",
"mocha": "~7.1.1",
"xhr2": "~0.2.0"
}
}