RatelServer constructor

RatelServer({
  1. int port = 8080,
  2. RatelDatabase? database,
  3. List<Type> handlers = const [],
  4. String? jwtKey,
  5. Bindings? bindings,
})

Implementation

RatelServer({
  this.port = 8080,
  this.database,
  this.handlers = const [],
  this.jwtKey,
  this.bindings,
}) {
  bindings?.dependencies();
  _initializeHandlers();
}