Vapor Documentation

Protocol Responder

public protocol Responder  
%205 Responder Responder BasicResponder BasicResponder BasicResponder->Responder AsyncResponder AsyncResponder AsyncResponder->Responder DefaultResponder DefaultResponder DefaultResponder->Responder HTTPMiddlewareResponder HTTPMiddlewareResponder HTTPMiddlewareResponder->Responder Application.Responder Application.Responder Application.Responder->Responder HeadResponder HeadResponder HeadResponder->Responder NotFoundResponder NotFoundResponder NotFoundResponder->Responder

Types Conforming to Responder

AsyncResponder
BasicResponder

A basic, closure-based Responder.

Application.Responder

Requirements

respond(to:​)

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