close method
Closes the WebSocket connection and removes the client from the session.
Implementation
Future close() async {
socket.close();
manager.session.remove(id);
}
Closes the WebSocket connection and removes the client from the session.
Future close() async {
socket.close();
manager.session.remove(id);
}