3 ms·
The docs are pretty light on the grpc web feature. Is there a sample project anywhere that demos how to do this from the browser?
by grizzles 9y ago
The docs are pretty light on the grpc web feature. Is there a sample project anywhere that demos how to do this from the browser?
- codesuki 9y agoI am converting my proto to typescript with https://github.com/improbable-eng/grpc-web https://github.com/improbable-eng/grpc-web and until recently also used their go server library. That meant my grpc servers were listening on 2 ports, gRPC and gRPC-web. I since replaced the gRPC-web part with envoy. Works fine together with the gRPC-web typescript. The gist should give you an idea how to set up a small example. https://gist.github.com/codesuki/f0514368a30b483058007f5fe383cff2 https://gist.github.com/codesuki/f0514368a30b483058007f5fe38...