ClientConfig constructor

ClientConfig({
  1. required Uri hubUri,
  2. required CredentialProvider credentials,
  3. ConnectionFactory? connectionFactory,
  4. Clock clock = const SystemClock(),
  5. void logger(
    1. String message
    )?,
  6. void onDisconnected()?,
})

Creates a client configuration.

Implementation

ClientConfig({
  required this.hubUri,
  required this.credentials,
  this.connectionFactory,
  this.clock = const SystemClock(),
  this.logger,
  this.onDisconnected,
});