APIServerWorker constructor
APIServerWorker(
- int workerIndex,
- APIRoot apiRoot, {
- required String? name,
- required String? version,
- String? address,
- int? port,
- int? securePort,
- Object? domains,
- Object? letsEncryptDirectory,
- bool letsEncrypt = false,
- bool? letsEncryptProduction,
- bool? allowRequestLetsEncryptCertificate,
- bool hotReload = false,
- int? totalWorkers = 1,
- bool cookieless = false,
- bool? useSessionID,
- String? apiCacheControl,
- String? staticFilesCacheControl,
- bool? cacheStaticFilesResponses,
- int? staticFilesCacheMaxMemorySize,
- int? staticFilesCacheMaxContentLength,
- Duration? serverResponseDelay,
- bool? logToConsole,
- 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);
}