3

I want to use grpc bidirectional streaming in web browser. Can I use bidirectional streaming with grpc-web in browser?

  rpc TypingStream (stream OutgoingTyping) returns (stream IncomingTyping);
}

1 Answers1

2

Currently, there is no support for bidirectional streaming in gRPC-web.

You could follow the following thread if you're interested: https://github.com/grpc/grpc-web/issues/24

Thanks :)


UPDATE (04/2023): In the latest streaming roadmap, it's decided that WebTransport will be used for future support of bi-directional streaming in gRPC-Web.

Sampajano
  • 835
  • 9
  • 7