DuxtServer constructor

DuxtServer({
  1. int port = 3000,
  2. String apiDir = 'server/api',
  3. String? staticDir,
  4. List<Middleware> middleware = const [],
  5. Duration requestTimeout = const Duration(seconds: 30),
})

Implementation

DuxtServer({
  this.port = 3000,
  this.apiDir = 'server/api',
  this.staticDir,
  this.middleware = const [],
  this.requestTimeout = const Duration(seconds: 30),
});