KuzzleProtocol constructor

KuzzleProtocol(
  1. Uri uri, {
  2. bool autoReconnect = false,
  3. Duration reconnectionDelay = const Duration(seconds: 1),
  4. int reconnectionAttempts = 10,
})

Implementation

KuzzleProtocol(
  this.uri, {
  this.autoReconnect = false,
  this.reconnectionDelay = const Duration(seconds: 1),
  this.reconnectionAttempts = 10,
})  : protocolState = KuzzleProtocolState.offline,
      id = _uuid.v4();