This commit is contained in:
2021-03-08 16:01:07 +08:00
parent e67c0d8816
commit 7b13890bb7
5 changed files with 514 additions and 476 deletions
+2 -2
View File
@@ -431,8 +431,8 @@ class Server extends HttpService
} else {
$this->onBind($newListener, 'packet', [$class = new OnPacket(), 'onHandler']);
}
$class->pack = $config['resolve']['pack'] ?? null;
$class->unpack = $config['resolve']['unpack'] ?? null;
$class->host = $config['host'];
$class->port = $config['port'];
}