SignalRConnectionOptions constructor

SignalRConnectionOptions({
  1. required String serverUrl,
  2. String? accessToken,
  3. Duration reconnectInterval = const Duration(seconds: 5),
  4. int maxRetryAttempts = 5,
  5. bool autoReconnect = true,
  6. dynamic onError(
    1. String
    )?,
  7. bool useSecureConnection = true,
})

Implementation

SignalRConnectionOptions({
  required this.serverUrl,
  this.accessToken,
  this.reconnectInterval = const Duration(seconds: 5),
  this.maxRetryAttempts = 5,
  this.autoReconnect = true,
  this.onError,
  this.useSecureConnection = true,
});