setTimeout(function () { if (webSocket.readyState === WebSocket.OPEN) { webSocket.send("Hello WebSocket, I'm a text message."); } else { console.log("WebSocket instance wasn't ready..."); } }, 1000);
站长微信:xiaomao0055
站长QQ:14496453