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:
co-authored by
John Hernandez
zancas
parent
352b0f584b
commit
c309063254
@@ -0,0 +1,27 @@
|
||||
## Running interop tests
|
||||
|
||||
Start the server:
|
||||
|
||||
```bash
|
||||
cd tonic-web/interop
|
||||
cargo run
|
||||
```
|
||||
|
||||
Build the client docker image:
|
||||
|
||||
```bash
|
||||
cd tonic-web/interop
|
||||
docker build -t grpcweb-client .
|
||||
```
|
||||
|
||||
Run tests on linux:
|
||||
|
||||
```bash
|
||||
docker run --network=host --rm grpcweb-client /test.sh
|
||||
```
|
||||
|
||||
Run tests on docker desktop:
|
||||
|
||||
```bash
|
||||
docker run --rm grpcweb-client /test.sh host.docker.internal
|
||||
```
|
||||
Reference in New Issue
Block a user