how to detect a client connected to server grpc?

42 views
Skip to first unread message

Constantine

unread,
Apr 8, 2017, 12:37:42 PM4/8/17
to grpc.io
Hi :)

I'm using nodejs grpc server. My clients are android devices and iOS devices. I want to detect when a new user connected to the server and emit a special event. I searched the doc but I couldn't find anything! Is it possible?

Thank you!

Jorg Heymans

unread,
Apr 9, 2017, 2:48:09 AM4/9/17
to grpc.io
I would make it explicit and just send a small "connected" message from the client, along the philosophy of "you're not really connected until you're able to send a message"

Jorg

Constantine

unread,
Apr 9, 2017, 3:10:59 AM4/9/17
to grpc.io
I created a nodejs client. But my client returns a null object but there is no error about the connection!
Reply all
Reply to author
Forward
0 new messages