Instance Method (Default implementation)vapor 4.114.1Vapor
didBoot(_:)
LifecycleHandler.swift:60func didBoot(_ application: Application) throws
func didBoot(_ application: Application) throws
s5Vapor16LifecycleHandlerPAAE7didBootyyAA11ApplicationCKF
What are these?WFEF
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
protocol LifecycleHandler : Sendable
Provides a way to hook into lifecycle events of a Vapor application. You can register your handlers with the Application
to be notified when the application is about to start up, has started up and is about to shutdown
final class Application
Core type representing a Vapor application.
func didBoot(_ application: Application) throws
Called when the application has booted up
func didBootAsync(_ application: Application) async throws
func shutdown(_ application: Application)
func shutdownAsync(_ application: Application) async
func willBoot(_ application: Application) throws
func willBootAsync(_ application: Application) async throws