How to  Pass a a vector  (using repeated in protobuf file) from server to 
client using stream

The gRPC server client interaction is stream.


//---------------------------STRUCTURE OF PROTO 
FILE---------------------------------------------------------
message Response
{

int param1 = 20;

int param2 = 30;

float param2 = 30;
}. ..


message ParamResponse
{

*repeated *Response =20;

}

 // RPC calls from Client to Serve
rpc Read( readyCommand ) returns ( stream *ParamResponse *){ }


--------------------------------------------------------------------------------------

In CPP project -


*sendDatato Client ( ....  ....,. ..,,,  ParamResponse DataResponse  )*
*{*

typedef std::vector<std::tuple<int,int, float>> Container;


*} *

Would like to know how can I pass the container.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c3518025-9897-4460-82dc-137c97eba46f%40googlegroups.com.

Reply via email to