[Webtransport] Fwd: node.js wrapper for webtransport

Bernard Aboba <bernard.aboba@gmail.com> Mon, 06 June 2022 13:33 UTC

Return-Path: <bernard.aboba@gmail.com>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DB87C157B5E for <webtransport@ietfa.amsl.com>; Mon, 6 Jun 2022 06:33:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A6tWs74d7Ide for <webtransport@ietfa.amsl.com>; Mon, 6 Jun 2022 06:33:42 -0700 (PDT)
Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B4A3C157B5D for <webtransport@ietf.org>; Mon, 6 Jun 2022 06:33:42 -0700 (PDT)
Received: by mail-vs1-xe33.google.com with SMTP id f1so1240384vsv.5 for <webtransport@ietf.org>; Mon, 06 Jun 2022 06:33:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=U81XP/+hLlxP3E4frhHjoq9nf9lf/gi8sr+GmaD8sFg=; b=RoqKxUAL47KjP2tpVCjKBzw2Hmxcp3O669P7QLbnRLxydnzlh6Ggoh1K1sfRBA/zm7 INk0Yp+bdUSEyLHlp1m97uYBEr/tPwzQP9KvU7GBl2pOxPYFoKZ/iQQuLVhkQTChoBbb 9jxLE8W5dDfVg3IpuMjH3sNikx2oW7QeyFLFzXjPC89DrxikJHGZx9dm8H62wXcVAHaP NPYKlSw/N5Rk+9yTTLTrxdj0ekabEq0MlfclIt6oCKtefakkBkco9XVHvshnYnU34jYW KFxJrKoQz7C53AtcuCUQ4J28TQBNKTBL9YuwhKD/dGqaBBMDCYlC+5VXi+XwC9ZD0ekH oUDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=U81XP/+hLlxP3E4frhHjoq9nf9lf/gi8sr+GmaD8sFg=; b=1IpiF8ueTlJa3rIKU9WlRbmG7uDABuVi0BlJxoFu0s6rSJC5os+iwxRzmZOyieRZat gzXVBJ4N4AyWX2LujCGO86fvmr0SHF5J5i7khAXV5YRc7grbIDPqLmokz5luEI2Jmr1d Sx1iZjUDCDnOqo5ikzEIaSLjimiSH9riwGF2e66/yphs85t0EDdRWuskcFmOOGQcm7Mt FHdlmry71B0JgquBnr2qewH7ZZV/i+L6/OVkle/F0XxJdDCbV6IQL38TtK4vRM6WyDdX CduZ2xYvW8f7c3XWL0dAI67VQ6Z7q3LHC+EeRIZvYsU/hYfk+etDotwha++OZL9WKfql 6Hlw==
X-Gm-Message-State: AOAM5312vY411kUNwp/jZj1zxo1oxno26ebetUi3yCXZmR4hoaHiGvyt mMldMBTTVqS+a7W7oVnpOOr605DD2m7SPKdaLnuMALIQ
X-Google-Smtp-Source: ABdhPJySkmGisM4iPK6amNQjZuwJHJK56gl9JfDfHA1Nzw08Ec+L079xIwHaO6T1+sZ7VtLktIKcwny+6HHYpKYHbBE=
X-Received: by 2002:a05:6102:3da8:b0:34b:bc4c:ebfb with SMTP id h40-20020a0561023da800b0034bbc4cebfbmr1941709vsv.24.1654522420917; Mon, 06 Jun 2022 06:33:40 -0700 (PDT)
MIME-Version: 1.0
References: <2ffd439f-fa60-44e1-bec7-df64ced6c9d1n@chromium.org>
In-Reply-To: <2ffd439f-fa60-44e1-bec7-df64ced6c9d1n@chromium.org>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Mon, 06 Jun 2022 06:33:30 -0700
Message-ID: <CAOW+2dueJU7M49OHpwRP8-rx73vt33HrMGccg3_6THRVF2cU3w@mail.gmail.com>
To: WebTransport <webtransport@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002bf9dd05e0c7850a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/_mGzmrMl1Pg-SsLkLyDdql0Cd-E>
Subject: [Webtransport] Fwd: node.js wrapper for webtransport
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: WebTransport WG <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jun 2022 13:33:46 -0000

FYI.

---------- Forwarded message ---------
From: 'Marten Richter' via web-transport-dev <web-transport-dev@chromium.org
>
Date: Mon, Jun 6, 2022 at 3:16 AM
Subject: node.js wrapper for webtransport
To: web-transport-dev <web-transport-dev@chromium.org>


Hi,
Since I like the ideas behind webtransport and wanted to use it for a
project, no support was available for node.js.
I made a thin wrapper around your quiche library to add webtransport
support (client and server) to node js. (A lot of the platform stuff is
taken from chromium and envoy).

It tries to mimic the browser interface for server and client, but not
everything is implemented, and not 100% to the evolving spec. However, the
important stuff should be there.

You can find it here:
@fails-components/webtransport - npm (npmjs.com)
<https://www.npmjs.com/package/@fails-components/webtransport>
and
fails-components/webtransport: Http/3 webtransport support for node
(github.com) <https://github.com/fails-components/webtransport#readme>

Btw if some of the quiche developers are listening.
Is there some way of tags for releases for quiche, if any? Maybe matching
Chromium releases?
I am currently half-automated tracking the GitHub repo, but I would like to
have more defined points to decide when a release of my wrapper should
occur because of the underlying lib changes.

Marten