webSocketClient property
Future<WebSocketSession>
get
webSocketClient
The client's end of the WebSocket, once the application accepted the
handshake with upgradeToWebSocket; a test sends and receives
messages through it. It never completes when the handshake is
refused. MockMvc.webSocket returns it.
Implementation
Future<WebSocketSession> get webSocketClient => _client.future;