Type Method
reloading(_:)
TLS credentials supplied by a
CertificateReloader.static func reloading(_ reloader: any CertificateReloader) -> ServerConfiguration.TLSConfiguration
Parameters
reloaderThe reloader that supplies and refreshes the credentials.
Discussion
The caller is responsible for running the reloader. Vapor wires it into the HTTP server but does not start its task. The reloader must already hold valid credentials when the server starts or startup fails; for TimedCertificateReloader, create it with makeReloaderValidatingSources(...) and call run() or use app.addService(reloader)