CourierConfiguration constructor

CourierConfiguration({
  1. required AuthRetryPolicy authRetryPolicy,
  2. bool timerPingSenderEnabled = true,
  3. int activityCheckIntervalSeconds = 12,
  4. int inactivityTimeoutSeconds = 10,
  5. int readTimeoutSeconds = 40,
  6. int disconnectDelaySeconds = 0,
  7. ConnectRetryPolicyConfig connectRetryPolicyConfig = const ConnectRetryPolicyConfig(),
  8. ConnectTimeoutConfig connectTimeoutConfig = const ConnectTimeoutConfig(),
  9. bool enableMQTTChuck = false,
})

Implementation

CourierConfiguration(
    {required this.authRetryPolicy,
    this.timerPingSenderEnabled = true,
    this.activityCheckIntervalSeconds = 12,
    this.inactivityTimeoutSeconds = 10,
    this.readTimeoutSeconds = 40,
    this.disconnectDelaySeconds = 0,
    this.connectRetryPolicyConfig = const ConnectRetryPolicyConfig(),
    this.connectTimeoutConfig = const ConnectTimeoutConfig(),
    this.enableMQTTChuck = false});