StompServiceOptions constructor

const StompServiceOptions({
  1. bool enableServer = true,
  2. String? serverName,
  3. Duration timeout = StompConstants.defaultTimeout,
  4. bool enableAutoReconnect = false,
  5. Duration reconnectInterval = const Duration(seconds: 5),
  6. int maxReconnectAttempts = 3,
})

Implementation

const StompServiceOptions({
  this.enableServer = true,
  this.serverName,
  this.timeout = StompConstants.defaultTimeout,
  this.enableAutoReconnect = false,
  this.reconnectInterval = const Duration(seconds: 5),
  this.maxReconnectAttempts = 3,
});