NodeOptions constructor

NodeOptions({
  1. String host = "localhost",
  2. int port = 2333,
  3. bool ssl = false,
  4. String password = "youshallnotpass",
  5. int shards = 1,
  6. int maxConnectAttempts = 5,
  7. Duration delayBetweenReconnections = const Duration(seconds: 5),
})

Constructor to build a new node builder

Implementation

NodeOptions({
  this.host = "localhost",
  this.port = 2333,
  this.ssl = false,
  this.password = "youshallnotpass",
  this.shards = 1,
  this.maxConnectAttempts = 5,
  this.delayBetweenReconnections = const Duration(seconds: 5)
});