handle(_:context:next:)

Process HTTP request and return an HTTP response

RouteGroup.swift:101
func handle(_ input: RouteGroup<Context, Handler>.Input, context: Context, next: (RouteGroup<Context, Handler>.Input, Context) async throws -> RouteGroup<Context, Handler>.Output) async throws -> RouteGroup<Context, Handler>.Output

Parameters

input

Request

context

Request context

next

Next middleware to run, if no route handler is found

Returns

Response