[grpc-io] Re: How to Pass a a list of data like array or vector (using repeated in protobuf file) from server to client using stream data.

2020-06-11 Thread rohit nv
Thanks for the reply.. I have one more doubt. Can we use a repeated (vector or map ) to send data for a streamed communication. e.g syntax = "proto3"; import "google/protobuf/empty.proto"; message Dummy { string foo = 1; repeated int bar = 2; } message DummyList { Dummy dummy = 1; }

[grpc-io] Re: How to Pass a a list of data like array or vector (using repeated in protobuf file) from server to client using stream data.

2020-06-10 Thread 'yas...@google.com' via grpc.io
Hi, It seems like you are looking for help with usage of protobuf for repeated fields. protobuf has pretty good documentations for such stuff - https://developers.google.com/protocol-buffers/docs/reference/cpp-generated#repeatedmessage Hope that helps. Cheers! On Sunday, May 31, 2020 at