SocketConnectionOptions constructor

SocketConnectionOptions({
  1. String? path,
  2. List<String>? transports,
  3. bool? reconnection,
  4. int? reconnectionAttempts,
  5. int? reconnectionDelay,
  6. int? reconnectionDelayMax,
  7. double? randomizationFactor,
  8. int? timeout,
  9. String? query,
  10. Map<String, String>? auth,
  11. bool? secure,
  12. bool? forceNew,
  13. ExtraIOSSocketOptions? extraIOSConfig,
  14. ExtraAndroidSocketOptions? androidConfig,
})

Implementation

SocketConnectionOptions({
  // Common
  this.path,
  this.transports,
  this.reconnection,
  this.reconnectionAttempts,
  this.reconnectionDelay,
  this.reconnectionDelayMax,
  this.randomizationFactor,
  this.timeout,
  this.query,
  this.auth,
  this.secure,
  this.forceNew,
  // Platform-specific
  this.extraIOSConfig,
  this.androidConfig,
});