EasyClientConfig constructor

EasyClientConfig({
  1. EasyLogHandler? logger,
  2. EasyLogLevel? logLevel,
  3. String? logTag,
  4. String? logFilePath,
  5. int? logFileBackup,
  6. int? logFileMaxBytes,
  7. required String host,
  8. required int port,
  9. String? pwd,
  10. bool binary = false,
  11. int timeout = 30 * 1000,
  12. int heartick = 60,
  13. int conntick = 6,
  14. bool sslEnable = false,
})

Implementation

EasyClientConfig({
  super.logger,
  super.logLevel,
  super.logTag,
  super.logFilePath,
  super.logFileBackup,
  super.logFileMaxBytes,
  required this.host,
  required this.port,
  this.pwd,
  this.binary = false,
  this.timeout = 30 * 1000,
  this.heartick = 60,
  this.conntick = 6,
  this.sslEnable = false,
});