handle(_:context:next:)

    Process HTTP request and return an HTTP response

    RouterBuilder.swift:59
    func handle(_ input: Input, context: Context, next: (Input, Context) async throws -> Output) async throws -> Output

    Parameters

    input

    HTTP Request

    context

    Request context

    next

    Next middleware to call if router doesn’t hit a route

    Returns

    HTTP Response

    Other members in extension

    Typealiases

    Type members