diff --git a/p.php b/p.php index 59976b5a..6fd199e6 100644 --- a/p.php +++ b/p.php @@ -1,14 +1 @@ push(100); - } - $channel->close(); - $channel = null; - var_dump($channel); -}); \ No newline at end of file diff --git a/socket.html b/socket.html index fbe8731c..e76c585a 100644 --- a/socket.html +++ b/socket.html @@ -50,7 +50,7 @@ } function connect() { - sock = new WebSocket('ws://127.0.0.1:9528/222'); + sock = new WebSocket('wss://center-wss.stupideyes.com/ws?access_token=6648f48a-466ba-6394-70527ef8b-bc47b8'); sock.onopen = function () { if (tick) { clearInterval(tick) diff --git a/test.php b/test.php index 4c2beb42..a8143662 100644 --- a/test.php +++ b/test.php @@ -1,13 +1 @@ -