Vapor Documentation Beta

Structure Application.​Responder

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

Member Of

Application

Nested Types

Application.Responder.Provider

Conforms To

Responder

Properties

application

let application: Application

current

var current: Vapor.Responder

`default`

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>