PusherOptions constructor

PusherOptions({
  1. PusherAuth? auth,
  2. String? cluster,
  3. String? host = "ws.pusherapp.com",
  4. int? wsPort = 80,
  5. int? wssPort = 443,
  6. bool? encrypted = true,
  7. int? activityTimeout = 120000,
  8. int? pongTimeout = 30000,
  9. int? maxReconnectionAttempts = 6,
  10. int? maxReconnectGapInSeconds = 30,
})

Implementation

PusherOptions({
  this.auth,
  this.cluster,
  this.host = "ws.pusherapp.com",
  this.wsPort = 80,
  this.wssPort = 443,
  this.encrypted = true,
  this.activityTimeout = 120000,
  this.pongTimeout = 30000,
  this.maxReconnectionAttempts = 6,
  this.maxReconnectGapInSeconds = 30,
});