SocketIoChannel constructor

SocketIoChannel(
  1. Socket socket,
  2. String name,
  3. SocketIoConnectorOptions options
)

Create a new class instance.

Implementation

SocketIoChannel(
  this.socket,
  this.name,
  SocketIoConnectorOptions options,
) : super(options) {
  subscribe();
}