ray.serve.grpc_util.RayServegRPCContext.set_details#

RayServegRPCContext.set_details(details: str)[source]#

Sets the value to be used as detail string upon RPC completion.

Calling this method is only needed if method implementations have details to transmit.

Parameters:

details – A UTF-8-encodable string to be sent to the client upon termination of the RPC.