Description
Hi There!
I am facing similar issues as this one #1345
I am using exactly the same setup as #1345 where we are using grpc-web with React Native Windows for my client and ASP.NET + Grpc.AspNetCore.Web package for my server.
As mentioned earlier unary calls works, yet when we try to use server-side streaming RPC, we receive no events.
If the server ends the connection, every events from the beginning of the connection are raised all at once.
We are using mode=grpcwebtext The generated proto files can be found here https://github.com/IamJignesh/PizzaAppWindows/blob/feature/serverside-streaming/protos/tswebText/GreetServiceClientPb.ts
In fact we have tried to generate the client with different formats and none of them seems to work all of the them can be found below:
https://github.com/IamJignesh/PizzaAppWindows/tree/feature/serverside-streaming/protos
- Grpc Server code: https://github.com/IamJignesh/PizzaAppWindows/tree/feature/serverside-streaming/windows/GrpcWebDemo
- Client code: https://github.com/IamJignesh/PizzaAppWindows/blob/feature/serverside-streaming/App.tsx
The Grpc client is generate by running the following command:
protoc -I=. greet.proto --js_out=import_style=commonjs,binary:. --grpc-web_out=import_style=typescript,mode=grpcwebText:.
We have been struggling with this for days so any help on this would be much appreciated!