Add more information on the usage of FailHijackedRecvMessage

pull/17179/head
Yash Tibrewal 6 years ago
parent 24e37e249a
commit 9b9ef64027
  1. 4
      include/grpcpp/impl/codegen/interceptor.h

@ -157,7 +157,9 @@ class InterceptorBatchMethods {
/// list.
virtual std::unique_ptr<ChannelInterface> GetInterceptedChannel() = 0;
// On a hijacked RPC, an interceptor can decide to fail a RECV MESSAGE op.
/// On a hijacked RPC, an interceptor can decide to fail a PRE_RECV_MESSAGE
/// op. This would be a signal to the reader that there will be no more
/// messages, or the stream has failed or been cancelled.
virtual void FailHijackedRecvMessage() = 0;
};

Loading…
Cancel
Save