APIServerWorker constructor

APIServerWorker(
  1. int workerIndex,
  2. APIRoot apiRoot, {
  3. required String? name,
  4. required String? version,
  5. String? address,
  6. int? port,
  7. int? securePort,
  8. Object? domains,
  9. Object? letsEncryptDirectory,
  10. bool letsEncrypt = false,
  11. bool? letsEncryptProduction,
  12. bool? allowRequestLetsEncryptCertificate,
  13. bool hotReload = false,
  14. int? totalWorkers = 1,
  15. bool cookieless = false,
  16. bool? useSessionID,
  17. String? apiCacheControl,
  18. String? staticFilesCacheControl,
  19. bool? cacheStaticFilesResponses,
  20. int? staticFilesCacheMaxMemorySize,
  21. int? staticFilesCacheMaxContentLength,
  22. Duration? serverResponseDelay,
  23. bool? logToConsole,
  24. bool? logQueue,
})

Implementation

APIServerWorker(
  this.workerIndex,
  super.apiRoot, {
  required super.name,
  required super.version,
  super.address,
  super.port,
  super.securePort,
  super.domains,
  super.letsEncryptDirectory,
  super.letsEncrypt,
  super.letsEncryptProduction,
  super.allowRequestLetsEncryptCertificate,
  super.hotReload,
  super.totalWorkers,
  super.cookieless,
  super.useSessionID,
  super.apiCacheControl,
  super.staticFilesCacheControl,
  super.cacheStaticFilesResponses,
  super.staticFilesCacheMaxMemorySize,
  super.staticFilesCacheMaxContentLength,
  super.serverResponseDelay,
  super.logToConsole,
  super.logQueue,
}) {
  _configureAPIRoot(apiRoot);
}