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.
確定! 回上一頁