RedisSessionDriver constructor

RedisSessionDriver({
  1. required String host,
  2. int port = 6379,
  3. String? password,
  4. int db = 0,
})

Implementation

RedisSessionDriver({
  required String host,
  int port = 6379,
  String? password,
  int db = 0,
}) : _connection = RedisConnection() {
  _initConnection(host, port, password, db);
}