grpc_call_get_peer in c++?

33 views
Skip to first unread message

kang joni

unread,
Jun 15, 2016, 8:39:46 PM6/15/16
to grpc.io
any equivalent grpc_call_get_peer in c++? c++ versions seems lack of any convenient functions in core c api.

Craig Tiller

unread,
Jun 15, 2016, 8:41:35 PM6/15/16
to kang joni, grpc.io
ClientContext::peer()
ServerContext::peer()

are what you're looking for.

On Wed, Jun 15, 2016 at 5:39 PM kang joni <kangj...@gmail.com> wrote:
any equivalent grpc_call_get_peer in c++? c++ versions seems lack of any convenient functions in core c api.

--
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 grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3dc266f5-dcfa-46d0-8bbc-772d8b50e695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kang joni

unread,
Jun 15, 2016, 9:12:58 PM6/15/16
to grpc.io
Ah, I see thanks. :)
Reply all
Reply to author
Forward
0 new messages