This commit is contained in:
xl
2023-05-26 18:28:07 +08:00
parent 29357fbfb9
commit 57dbb1e109
-1
View File
@@ -42,7 +42,6 @@ class WebSocket extends Component implements OnHandshakeInterface, OnMessageInte
$this->collector = \Kiri::getDi()->get(DataGrip::class)->get('wss');
$this->handler = $this->collector->query('/', 'GET');
$config = \Kiri::getDi()->get(ConfigProvider::class);
if ($this->handler->implement(OnHandshakeInterface::class)) {
$config->modify('server.ports.events.' . Constant::HANDSHAKE, [$this->handler, 'onHandshake']);