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

Loading…
Cancel
Save