response = blockingStub.withDeadlineAfter(deadlineMs, TimeUnit.MILLISECONDS).sayHello(request);
from
if (Context.current().isCancelled()) {
responseObserver.onError(Status.CANCELLED.withDescription("Cancelled by client").asRuntimeException());
return;
}
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/C5E3B9EB-D091-47A0-A3D2-8F50715CD559%40earthlink.net.