Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

addService(_:)

Register an additional Service to run alongside the HTTP server.
func addService(_ service: any Service)

Discussion

Services are started when run() or start() is called and shut down when the application receives a shutdown signal.