LavalinkWebSocket constructor

LavalinkWebSocket({
  1. required String host,
  2. required int port,
  3. required String password,
  4. required String userId,
  5. bool useSSL = false,
  6. Duration heartbeatInterval = const Duration(seconds: 30),
  7. int maxReconnectAttempts = 10,
})

Implementation

LavalinkWebSocket({
  required this.host,
  required this.port,
  required this.password,
  required this.userId,
  this.useSSL = false,
  this.heartbeatInterval = const Duration(seconds: 30),
  this.maxReconnectAttempts = 10,
});