Slight update to grammar. Can probably be improved more

pull/17662/head
Yash Tibrewal 6 years ago
parent b8a542cd23
commit 73b1a918e4
  1. 20
      include/grpcpp/impl/codegen/interceptor.h

@ -114,16 +114,16 @@ class InterceptorBatchMethods {
/// but not both at the same time.
/// gRPC performs serialization in a lazy manner, which means
/// that a call to GetSerializedSendMessage will result in a serialization
/// operation if the payload stored is not in the serialized form already. The
/// non-serialized form is lost and GetSendMessage will no longer return a
/// valid pointer, and this will remain true for later interceptors too. This
/// can change however if ModifySendMessage is used to replace the current
/// payload. Note that ModifySendMessage requires a new payload message in the
/// non-serialized form. This will overwrite the existing payload irrespective
/// of whether it had been serialized earlier. Also note that gRPC Async API
/// requires early serialization of the payload which means that the payload
/// would be available in the serialized form only unless an interceptor
/// replaces the payload with ModifySendMessage.
/// operation if the payload stored is not in the serialized form already; the
/// non-serialized form will be lost and GetSendMessage will no longer return
/// a valid pointer, and this will remain true for later interceptors too.
/// This can change however if ModifySendMessage is used to replace the
/// current payload. Note that ModifySendMessage requires a new payload
/// message in the non-serialized form. This will overwrite the existing
/// payload irrespective of whether it had been serialized earlier. Also note
/// that gRPC Async API requires early serialization of the payload which
/// means that the payload would be available in the serialized form only
/// unless an interceptor replaces the payload with ModifySendMessage.
/// Returns a modifable ByteBuffer holding the serialized form of the message
/// that is going to be sent. Valid for PRE_SEND_MESSAGE interceptions.

Loading…
Cancel
Save