2

I'm a newbie developer. I wanna know, Do i need grpc-web library even if the browser supports HTTP2 ?. If the answer is yes, please tell me why

Thanks in advance

Mona
  • 21
  • 1

1 Answers1

0

According to this grpc.io blog post, as of 2019 browsers did not support fine-grained control of HTTP2 requests needed to implement direct gRPC connection from javascript.

For this reason a separate library and proxy, such as implemented by gRPC-Web, is needed.

jpa
  • 10,351
  • 1
  • 28
  • 45