Hi,

In C++, is there a way to identify the stream id of a client who is making 
the rpc call? 

If not, is ServerContext::peer() a reliable way to go about it? From 
documentation I understand that peer() value is never authenticated or 
subject to any security related code. But I am hoping it'd be reliable if 
not compromised (meaning different rpc calls from the same peer always 
return the same value). One downside of this approach is that this call 
always makes an allocation. So if there is a way to get the stream id of 
the peer, that'd be nice. 


Thanks
Arpit



 

-- 
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/157ea941-7ac8-4772-a20b-cf003336a7b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to