To be notified when the peer closes the connection, use onClose . This future will be completed when either the client or server closes the WebSocket. ws ...
確定! 回上一頁