Structurevapor 4.114.1Vapor
Provider
Application+Responder.swift:10struct Providerstruct Providerimport VaporVapor 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.
struct Responderfinal class ApplicationCore type representing a Vapor application.
let application: Applicationvar current: Vapor.Responder { get }var `default`: Vapor.Responder { get }func respond(to request: Request) -> EventLoopFuture<Response> func use(_ provider: Provider) @preconcurrency func use(_ factory: @escaping (Application) -> (Vapor.Responder)) protocol Sendable@preconcurrency init(_ run: @escaping (Application) -> ()) static var `default`: Self { get }