Closed alanhe421 closed 2 years ago
Thanks for noticing :)
You're right it's not referred anywhere in the exmaples.
Although, maybe that was used to showcase how grpc-web can be used from a node runtime?
I'm not sure if it works anymore tho :)
I had the same question. Please consider adding some notes about node-client.js in README (or remove the file?). Thanks :)
Checked with team, actually node-client.js is used to test against the node grpc server (without Envoy proxy) just in case things aren't working.. so it doesn't actually speak grpc-web! Will add note to clarify. Thanks for noticing and the suggestions! :)
https://github.com/grpc/grpc-web/blob/69a16b603359334884a04927572cc96de36f80bf/net/grpc/gateway/examples/helloworld/node-client.js#L26