Hi Eric,
I have server that expose bidirectional method and i need to generate
create that will send messages to server every 2 second message of max 5MB.

Currently i'm creating client, and saving the instance as a member in my
class and then for each message i'm calling rpc bidi method.

I wonder if i need to call the rpc bidi method once in start and then save
the instance as class member and when message arrive just to call to the
"write" method. in this case how i can correlate between the requests and
the responses?

1. what is the best practice in my case?
2. the connection to server start once when client created? (one long time
connection)

** i'm using javascript client
Thanks!

-- 
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/CAFaSE%3DAWL-ruABeR9G%3DZStg8w3jOtPBBFigBxSeXM99QSnj6nw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to