Native WebSockets in node 20 #53684
Labels
feature request
Issues that request new features to be added to Node.js.
good first issue
Issues that are suitable for first-time contributors.
http
Issues or PRs related to the http subsystem.
v20.x
v20.x Issues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch.
What is the problem this feature will solve?
We are working on a library and wish to keep its minimum LTS at v20. It uses WebSockets, and is used in both browser and NodeJS. To use the native implementations as much as possible, it'd be great to have WebSockets backported to node 20 as well. I had a conversation with @mcollina and he suggested exposing WebSockets on
node:http
What is the feature you are proposing to solve the problem?
Expose
WebSocket
onnode:http
What alternatives have you considered?
Do nothing and use npm packages like ws/isomorphic-ws
The text was updated successfully, but these errors were encountered: