AppConfig.secure constructor
const
AppConfig.secure({})
Implementation
const AppConfig.secure({
required this.host,
required this.port,
required SecurityContext this.securityContext,
this.requestClientCertificate = false,
this.prefix = _defaultPrefix,
this.workers = 1,
this.backlog = 0,
}) : assert(workers >= 1, 'workers must be >= 1'),
assert(backlog >= 0, 'backlog must be >= 0');