Re: [grpc-io] Re: grpc streaming large file

2018-04-11 Thread Weidong Lian
I kinda agree with you. After googling and testing, the grpc may not be a proper tool to handle the client-server with tight logic, e.g. both sides are state-machines, like in desktop client and remote server. We can still use protobuf, but your own socket/websocket might be easier solutions

Re: [grpc-io] Re: grpc streaming large file

2018-04-11 Thread 'Srini Polavarapu' via grpc.io
You could set request parameters as metadata for the file upload RPC. Server receives metadata before the streaming data is received. On Wednesday, April 11, 2018 at 10:58:20 AM UTC-7, rSam wrote: > > I recently had to implement a similar solution to send files. I considered > these options: >