unary<I extends Object, O extends Object> abstract method

Future<UnaryResponse<I, O>> unary<I extends Object, O extends Object>(
  1. Spec<I, O> spec,
  2. I input, [
  3. CallOptions? options
])

Call a unary RPC - a method that takes a single input message, and responds with a single output message.

Implementation

Future<UnaryResponse<I, O>> unary<I extends Object, O extends Object>(
  Spec<I, O> spec,
  I input, [
  CallOptions? options,
]);