Thanks, let me try it. Vijay On Tuesday, February 7, 2017 at 3:59:33 PM UTC+5:30, Ken Payson wrote: > > If you are using protobufs, the easiest way to approach this would be to > use the oneof > <https://developers.google.com/protocol-buffers/docs/proto#oneof> feature. > > Oneof allows you to specify a request type that is "one of" > connectReq/cliMsg/serverMsgRes. > > Likewise, your response type can be specified as "one of" > connectRes/cliMsgRes/serverMsgReq. > > > On Tue, Feb 7, 2017 at 1:21 AM, <[email protected] <javascript:>> wrote: > >> hi, >> >> Newbie to grpc and not sure if following is possible. >> Need to implement client->server processes which can work with >> bidirectional streaming support. Additionally want to check it is possible >> to stream different messages/responses from client/server after connection >> is established. >> >> So far all the examples i searched show ability of sending one message >> request/response behavior. >> >> Client----->Server >> connectReq()---> >> <-----connectRes. >> >> after connection is established, any different request/response below may >> happen. >> >> cliMsg1-------> >> <-----------cliMsgRes1 >> >> >> <--------serverMsgReq1 >> serverMsgRes1----> >> >> Thx, >> Vijay >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/grpc-io. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/60f82252-313d-4db3-bbf2-abc4a758a7f6%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/60f82252-313d-4db3-bbf2-abc4a758a7f6%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/220fcd80-29f7-4ef2-aebf-36666b7c5109%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
