Public Member Functions | |
def | code (self) |
def | details (self) |
def | initial_metadata (self) |
def | trailing_metadata (self) |
![]() | |
def | add_callback (self, callback) |
def | cancel (self) |
def | is_active (self) |
def | time_remaining (self) |
Invocation-side utility object for an RPC.
Definition at line 359 of file src/python/grpcio/grpc/__init__.py.
def grpc.Call.code | ( | self | ) |
Accesses the status code sent by the server. This method blocks until the value is available. Returns: The StatusCode value for the RPC.
Reimplemented in grpc._channel._MultiThreadedRendezvous, grpc._channel._SingleThreadedRendezvous, grpc_testing._channel._invocation.ResponseIteratorCall, grpc._channel._InactiveRpcError, grpc_testing._channel._invocation._FutureCall, grpc._interceptor._UnaryOutcome, grpc_testing._channel._invocation._RpcErrorCall, grpc._interceptor._FailureOutcome, and grpc_testing._channel._invocation._Call.
Definition at line 385 of file src/python/grpcio/grpc/__init__.py.
def grpc.Call.details | ( | self | ) |
Accesses the details sent by the server. This method blocks until the value is available. Returns: The details string of the RPC.
Reimplemented in grpc._channel._MultiThreadedRendezvous, grpc._channel._SingleThreadedRendezvous, grpc_testing._channel._invocation.ResponseIteratorCall, grpc._channel._InactiveRpcError, grpc_testing._channel._invocation._FutureCall, grpc._interceptor._UnaryOutcome, grpc_testing._channel._invocation._RpcErrorCall, grpc._interceptor._FailureOutcome, and grpc_testing._channel._invocation._Call.
Definition at line 396 of file src/python/grpcio/grpc/__init__.py.
def grpc.Call.initial_metadata | ( | self | ) |
Accesses the initial metadata sent by the server. This method blocks until the value is available. Returns: The initial :term:`metadata`.
Reimplemented in grpc._channel._MultiThreadedRendezvous, grpc._channel._SingleThreadedRendezvous, grpc_testing._channel._invocation.ResponseIteratorCall, grpc._channel._InactiveRpcError, grpc_testing._channel._invocation._FutureCall, grpc._interceptor._UnaryOutcome, grpc_testing._channel._invocation._RpcErrorCall, grpc._interceptor._FailureOutcome, and grpc_testing._channel._invocation._Call.
Definition at line 363 of file src/python/grpcio/grpc/__init__.py.
def grpc.Call.trailing_metadata | ( | self | ) |
Accesses the trailing metadata sent by the server. This method blocks until the value is available. Returns: The trailing :term:`metadata`.
Reimplemented in grpc._channel._MultiThreadedRendezvous, grpc._channel._SingleThreadedRendezvous, grpc_testing._channel._invocation.ResponseIteratorCall, grpc._channel._InactiveRpcError, grpc_testing._channel._invocation._FutureCall, grpc._interceptor._UnaryOutcome, grpc_testing._channel._invocation._RpcErrorCall, grpc._interceptor._FailureOutcome, and grpc_testing._channel._invocation._Call.
Definition at line 374 of file src/python/grpcio/grpc/__init__.py.