News for hackers. Stuff that matters.
Re:Envoy: Modern Proxy server with HTTP 1.1 and 2, GRPC supp... by grizzles on Thursday September 28, 2017 @08:41AM (#15356639)
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?
Re:Envoy: Modern Proxy server with HTTP 1.1 and 2, GRPC supp... by codesuki on Thursday September 28, 2017 @09:14PM (#15362055)
I am converting my proto to typescript with 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/f0514368a30b483058007f5fe38...