Channel constructor

Channel({
  1. required String host,
  2. required int port,
  3. required Handler handler,
  4. bool? ssl = false,
  5. bool reconnectOnClose = false,
  6. String? token,
  7. WebSocket? client,
  8. Timer? timer,
})

Implementation

Channel(
    {required this.host,
    required this.port,
    required this.handler,
    this.ssl = false,
    this.reconnectOnClose = false,
    this.token,
    this.client,
    this.timer});