Instance Methodvapor 4.114.1Vapor

on(_:_:body:use:)

RoutesBuilder+Concurrency.swift:118
@discardableResult @preconcurrency func on<Response>(_ method: HTTPMethod, _ path: PathComponent..., body: HTTPBodyStreamStrategy = .collect, use closure: @escaping (Request) async throws -> Response) -> Route where Response : AsyncResponseEncodable