Currently, MessageReader::NextMessage will advance the buffer past the gRPC delimiter.
However, we need the delimiter if we wish to preserve the original message. Instead of having our extraction libraries reform the delimiter, just rely on MessageReader to expose the last parsed message.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/grpc-ecosystem/grpc-httpjson-transcoding/blob/master/OWNERS)~~ [nareddyt,qiwzhang]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Currently,
MessageReader::NextMessage
will advance the buffer past the gRPC delimiter.However, we need the delimiter if we wish to preserve the original message. Instead of having our extraction libraries reform the delimiter, just rely on
MessageReader
to expose the last parsed message.