Grpc Call
A single call to a remote server. This call sends a single request value and receives a single response value. A gRPC call cannot be executed twice.
gRPC calls can be suspending, blocking, or asynchronous. Use whichever mechanism works at your call site: the bytes transmitted on the network are the same.
Properties
The method invoked by this call.
A map containing request metadata. This is initially empty; it can be assigned to any other map of metadata before the call is executed. It is an error to set this value after the call is executed.
A map containing response metadata. This is null until the call has executed, at which point it will be non-null if the call completed successfully. It may also be non-null in failure cases if the failure was not a problem of connectivity. For example, if the gRPC call fails with an HTTP 503 error, response metadata will be present.
Functions
Invokes the call immediately and blocks until its response is received.
True if cancel was called.
Returns true if execute, executeBlocking, or enqueue was called. It is an error to execute or enqueue a call more than once.