This commit is contained in:
2020-11-01 04:30:29 +08:00
parent 3e7e4dd306
commit ee450b60b9
+1 -1
View File
@@ -67,7 +67,7 @@ class OnReceive extends Callback
*/ */
public function onHandler(\Swoole\Server $server, $fd, $reactorId, $data) public function onHandler(\Swoole\Server $server, $fd, $reactorId, $data)
{ {
var_dump(func_get_args()); var_dump($fd, $reactorId, $data);
try { try {
$client = [$fd]; $client = [$fd];
if (empty($data = $this->unpack($data))) { if (empty($data = $this->unpack($data))) {