interceptUnary<Q, R> method

  1. @override
ResponseFuture<R> interceptUnary<Q, R>(
  1. ClientMethod<Q, R> method,
  2. Q request,
  3. CallOptions options,
  4. ClientUnaryInvoker<Q, R> invoker,
)

Implementation

@override
ResponseFuture<R> interceptUnary<Q, R>(
  ClientMethod<Q, R> method,
  Q request,
  CallOptions options,
  ClientUnaryInvoker<Q, R> invoker,
) {
  print('service client request path: ${method.path}');
  return super.interceptUnary(method, request, options, invoker);
}