fix a spelling mistake in tutorial-10-user_defined_protocal.md

This commit is contained in:
ChunelFeng
2021-10-05 14:17:37 +08:00
parent 3974c4fc19
commit 5cc19a53f1

View File

@@ -17,7 +17,7 @@
# 协议的实现
用户自定义协议需要提供协议的序列化和反序列化方法这两个方法都是ProtocolMeessage类的虚函数。
用户自定义协议需要提供协议的序列化和反序列化方法这两个方法都是ProtocolMessage类的虚函数。
另外为了使用方便我们强烈建议用户实现消息的移动构造和移动赋值用于std::move())。
在[ProtocolMessage.h](../src/protocol/ProtocolMessage.h)里,序列化反序列化接口如下:
~~~cpp