modify
This commit is contained in:
@@ -33,6 +33,7 @@ class Websocket extends HAWebsocket
|
|||||||
*/
|
*/
|
||||||
public function onBaseListener()
|
public function onBaseListener()
|
||||||
{
|
{
|
||||||
|
$this->on('connect', function () {});
|
||||||
$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'));
|
||||||
|
|||||||
Reference in New Issue
Block a user