grpc web hello:gRPC Web Hello 源码
简单的问候者grpc-web服务 $ docker-compose up -d $ # Open browser, point to: https://ok.local:8000 (see Tips below), or $ curl 'https://ok.local:8080/helloworld.Greeter/SayHello' \ -H 'Accept: application/grpc-web-text' \ -H 'X-User-Agent: grpc-web-javascript/0.1' \ -H 'X-Grpc-Web: 1' \ -H 'Content-Type: application/grpc-web-text' \ -H 'Origin: http://localhost:8000' \ --data-binary 'AAAAAAcKBV
文件列表
grpc-web-hello-master.zip
(预估有个12文件)
grpc-web-hello-master
client.js
2KB
Dockerfile-greeter-backend
72B
Dockerfile-greeter-frontend
625B
package.json
487B
envoy.yaml
13KB
server.js
2KB
docker-compose.yaml
660B
index.html
237B
helloworld.proto
975B
暂无评论