Vapor Documentation

Structure Application.​Responder

public struct Responder  
%591 Application.Responder Application.Responder Responder Responder Application.Responder->Responder

Member Of

Application

Core type representing a Vapor application.

Nested Types

Application.Responder.Provider

Conforms To

Responder

Properties

application

public let application: Application

current

public var current: Vapor.Responder  

`default`

public var `default`: Vapor.Responder  

Methods

use(_:​)

public func use(_ provider: Provider)  

use(_:​)

public func use(_ factory: @escaping (Application) -> (Vapor.Responder))  

respond(to:​)

public func respond(to request: Request) -> EventLoopFuture<Response>