protobuf-net / protobuf-net.Grpc

GRPC bindings for protobuf-net and grpc-dotnet
Other
846 stars 106 forks source link

Q: Bi-directional streaming #234

Open ScottKane opened 2 years ago

ScottKane commented 2 years ago

The only examples of this I can seem to find are using Grpc.Core giving you IAsyncStreamReader/Writer. Sorry if I'm missing something obvious here, but what is the intended way for this to work with protobuf-net? Both client/server sides of a request if possible where I have access to both the request and response streams.

ScottKane commented 1 year ago

Well, if you get something working and are feeling generous: there's plenty of space for some examples in the repo :)

Currently what I was testing can't work inside Blazor as the browser doesn't support duplex streaming as it's limited to HTTP1. From what I can tell, Microsoft is trying to solve this with Web Transport, however I still don't think this would work from inside WASM