APIServer constructor
APIServer(
- APIRoot apiRoot,
- String address,
- int port, {
- String? name = 'Bones_API',
- String? version = BonesAPI.VERSION,
- int? securePort,
- bool letsEncrypt = false,
- bool? letsEncryptProduction,
- bool? allowRequestLetsEncryptCertificate,
- Object? letsEncryptDirectory,
- bool hotReload = false,
- Object? documentRoot,
- Object? domains,
- bool cookieless = false,
- bool? useSessionID,
- int? totalWorkers = 1,
- String? apiCacheControl,
- String? staticFilesCacheControl,
- bool? cacheStaticFilesResponses,
- Duration? serverResponseDelay,
- bool? logToConsole,
- bool? logQueue,
Implementation
APIServer(
super.apiRoot,
String address,
int port, {
super.name = 'Bones_API',
super.version = BonesAPI.VERSION,
super.securePort,
super.letsEncrypt,
super.letsEncryptProduction,
super.allowRequestLetsEncryptCertificate,
super.letsEncryptDirectory,
super.hotReload,
super.documentRoot,
super.domains,
super.cookieless,
super.useSessionID,
super.totalWorkers,
super.apiCacheControl,
super.staticFilesCacheControl,
super.cacheStaticFilesResponses,
super.serverResponseDelay,
super.logToConsole,
super.logQueue,
}) : super(address: address, port: port);