grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.51k stars 766 forks source link

web client streaming support #1232

Closed Lu-Gru closed 2 years ago

Lu-Gru commented 2 years ago

Hello, Question regarding current streaming status.

From testing it seams to me that streaming is only supported from server side (tested c++ server and did received messages fine in JS client).

Unfortunately I'm unable to find concrete answer regarding streaming support from client to server and bi-directional streaming.

Generated stubs for client side (service and channel) seams to be missing streaming part.

So my question is can JS client stream to server (and use bi-directional streaming) ?

sampajano commented 2 years ago

Hi! Thanks for the question!

you're right.. unfortunately both client->server streaming and bidi-streaming are NOT supported currently. :)

It might come in the future but no plans so far. 😃

Lu-Gru commented 2 years ago

Thank You for the answer.

kiyonamiy commented 1 year ago

I think this issue should be explained in the README.md. I tried it for a long time 😂

sampajano commented 1 year ago

@KiyonamiYu thanks for the suggestion.. it makes sense to me. Added above. Thanks! :)