ray.serve.grpc_util.RayServegRPCContext.peer#

RayServegRPCContext.peer() str[source]#

Identifies the peer that invoked the RPC being serviced.

Returns:

A string identifying the peer that invoked the RPC being serviced. The string format is determined by gRPC runtime.