-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js support for WebTransport #511
Comments
There is at least one implementation I am aware of, though I am not sure how their API compares to the W3C one. |
The FAILS implementation isn't production ready and hasn't been kept up to date. |
I don't know if it is production ready. Anyway, the API follows closely the W3C draft. With some additions for the server. Besides, there is a PR for a test from a contributor, which is a bit stuck. The main problems, why the test is not progressing, are a lot of race conditions in the tests itself, which depends on the machine (but is not triggered on my machine), and a problem in chromium. |
I'm hoping to get QUIC support landed fully in Node.js by the end of the year, which will hopefully also include WebTransport API support. However, that's still not set in stone. |
@jasnell and @martenrichter - thanks for your feedback. We notified the WG of your work and are monitoring progress with anticipation. If there are any API changes you feel you need for node.js integration, please be sure to notify us via issue. |
@wilaw |
@jasnell - any holiday update on the progress of this initiative? |
I've just released a "playground" prototype using @martenrichter's EDIT: Live version is available at https://web-transport.dev |
May be I should update on the status of the node.js package (many changes in the last weeks):
Due to the new structure, it might be possible, if some QUIC/http/3 is available on node.js to built a separate transport. |
QUIC in Node.js is still in progress but moving forward. No ETA on completion as my availability to work on it is quite limited but it is making progress |
libp2p seems to have a js package for webtransport |
Which is for the browser side and built around the usual WebTransport interface the browser exposes: see: |
@jasnell @martenrichter - as we reach the end of the year, any update on WebTransport in node? @LPardue - can you lobby to free up some time for James to focus on this integration? |
There is still my intermediate (or experimental duct-tape) node.js package (libquiche-based for http/3 but using native node.js sockets, but also includes a node.js http/2 support (need a newer node.js version for initial settings, and I am afraid I do not know any UA implementation of http/2) and my webtransport/websocket flavor for poly filling). But I am also curious about native node.js support, as I wrote the package only to bridge the time until native node.js support arrives. |
Having support for WebTransport within Node.js would accelerate development of prototypes within the W3C WebTransport community. What can be done to initiate or support this functionality?
May be predicated on HTTP/3 support within node nodejs/node#38478.
Any other blockers?
The text was updated successfully, but these errors were encountered: