Re: [grpc-io] about client source IP address

903 views
Skip to first unread message
Message has been deleted

Craig Tiller

unread,
Nov 14, 2016, 10:36:54 PM11/14/16
to yangx...@gmail.com, grpc.io
Which language are you working with?

On Mon, Nov 14, 2016 at 4:52 PM <yangx...@gmail.com> wrote:

How to get the client source IP address from the gRPC server

--
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.
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/643d1b83-fb12-4c81-bd5a-110181a0ddbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

yine

unread,
Nov 15, 2016, 6:38:13 AM11/15/16
to grpc.io, yangx...@gmail.com
java

在 2016年11月15日星期二 UTC+8上午11:36:54,Craig Tiller写道:

Carl Mastrangelo

unread,
Dec 6, 2016, 7:37:00 PM12/6/16
to grpc.io, yangx...@gmail.com
You can access it from a server interceptor, but looking in the attributes in the ServerCall.   The Attributes key to use is in Grpc:  https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/Grpc.java#L51
Reply all
Reply to author
Forward
0 new messages