jamesge commented on a change in pull request #972: Redis server protocol
URL: https://github.com/apache/incubator-brpc/pull/972#discussion_r356953434
##########
File path: src/brpc/redis_reply.cpp
##########
@@ -37,6 +38,61 @@ const char* RedisReplyTypeToString(RedisReplyType type) {
}
}
+bool RedisReply::SerializeToIOBuf(butil::IOBuf* buf) {
Review comment:
SerializeTo就行了,以后若需要针对其他buffer类型增加override也很自然。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]