WebSocketDuplexConnection constructor

WebSocketDuplexConnection(
  1. WebSocketChannel webSocket, {
  2. SocketClosedCallback? socketClosedCallback,
})

Implementation

WebSocketDuplexConnection(this.webSocket, {this.socketClosedCallback});