Bläddra i källkod

Update UdpConnection.php

mouyong 3 år sedan
förälder
incheckning
d20950b9a1
1 ändrade filer med 3 tillägg och 1 borttagningar
  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.