Forráskód Böngészése

Update UdpConnection.php

mouyong 3 éve
szülő
commit
d20950b9a1
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/Connection/UdpConnection.php

+ 3 - 1
src/Connection/UdpConnection.php

@@ -17,8 +17,10 @@ namespace Workerman\Connection;
 /**
  * UdpConnection.
  */
-class UdpConnection extends ConnectionInterface
+class UdpConnection extends ConnectionInterface implements \JsonSerializable, \Serializable
 {
+    use Traits\SerializeTrait;
+
     /**
      * Application layer protocol.
      * The format is like this Workerman\\Protocols\\Http.