WebSocket.onclose. 用于指定连接关闭后的回调函数. 代码示例: aWebSocket.onclose = function(event) { console.log('WebSocket is closed now.') } ...
確定! 回上一頁