SocketClient constructor

SocketClient({
  1. required String id,
  2. required WebSocket socket,
  3. required WebRequest rq,
  4. required SocketManager manager,
})

Constructs a SocketClient instance with the specified parameters.

The id, socket, rq, and manager parameters are required.

Implementation

SocketClient({
  required this.id,
  required this.socket,
  required this.rq,
  required this.manager,
});