Skip to content

Instance Method

put(_:use:)

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