浏览代码

Update TcpConnection.php

mouyong 3 年之前
父节点
当前提交
17a16587c5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Connection/TcpConnection.php

+ 2 - 0
src/Connection/TcpConnection.php

@@ -21,6 +21,8 @@ use Workerman\Worker;
  */
 class TcpConnection extends ConnectionInterface implements \JsonSerializable, \Serializable
 {
+    use Traits\SerializeTrait;
+
     /**
      * Read buffer size.
      *