Skip to content

Instance Method

get(_:use:)

@discardableResult @preconcurrency func get<Response>(_ path: PathComponent..., use closure: @escaping @Sendable (Request) async throws -> Response) -> Route where Response : AsyncResponseEncodable