【发布时间】:2019-04-02 17:56:53
【问题描述】:
【问题讨论】:
标签: grpc envoyproxy grpc-web
【问题讨论】:
标签: grpc envoyproxy grpc-web
在https://github.com/grpc/grpc-web/issues/347 中回答。要使 gRPC-Web 正常工作,我们需要向我们公开大量底层传输,但目前跨浏览器并非如此。鉴于当前的浏览器 API 集,我们无法利用完整的 http2 协议。
【讨论】:
...a JavaScript client library that enables web apps to communicate directly with gRPC backend services, without requiring an HTTP server to act as an intermediary这让我有点困惑。
The last piece of the puzzle is the service proxy. From the get-go, gRPC-Web will support Envoy as the default service proxy, which has a built-in envoy.grpc_web filter that you can apply with just a few lines of configuration. 所以我认为(???)第一句话是不正确的,或者至少是误导性的。警告:我只是这个主题的初学者。