CourierConfiguration constructor
CourierConfiguration({
- required AuthRetryPolicy authRetryPolicy,
- bool timerPingSenderEnabled = true,
- int activityCheckIntervalSeconds = 12,
- int inactivityTimeoutSeconds = 10,
- int readTimeoutSeconds = 40,
- int disconnectDelaySeconds = 0,
- ConnectRetryPolicyConfig connectRetryPolicyConfig = const ConnectRetryPolicyConfig(),
- ConnectTimeoutConfig connectTimeoutConfig = const ConnectTimeoutConfig(),
- 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});