function GrpcRpc.abort
Abort the current RPC with the given status.
Two forms:
rpc.abort(code, message)— positional short form, code is agrpc.Code.<NAME>int.rpc.abort(status = grpc.Status(...))— keyword full form for when you need details.
return afterward.
function GrpcRpc.cancelled
Returns
True if the client has cancelled the call.
function GrpcRpc.metadata
Request metadata (headers) as a
dict[str, str]. ASCII entries only; binary (-bin) entries are not exposed. Includes transport headers like grpc-timeout when the client set a deadline.
