modify
This commit is contained in:
@@ -31,6 +31,8 @@ class Websocket extends HAWebsocket
|
|||||||
$this->on('handshake', $this->createHandler('handshake'));
|
$this->on('handshake', $this->createHandler('handshake'));
|
||||||
$this->on('message', $this->createHandler('message'));
|
$this->on('message', $this->createHandler('message'));
|
||||||
$this->on('close', $this->createHandler('close'));
|
$this->on('close', $this->createHandler('close'));
|
||||||
|
|
||||||
|
var_dump($this->getCallback('close'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user