Skip to content

websockets: use native websockets and remove extra dependencies #56

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

atoppi
Copy link
Member

@atoppi atoppi commented Apr 8, 2025

Since runtime version 22.4.0, W3C WebSockets Client API is available on node.
We can switch to the native implementation, getting rid of two dependencies and some code that becomes useless.
There are a couple of downsides, though:

  • Increase minimum runtime version to 22.4.0 (released on July 2024)
  • Make impossible to send unsolicited ping frames from Janode (since this API is not exposed by the W3C specs)

This will need a minor version bump (e.g. 1.8.x).

atoppi added 5 commits April 3, 2025 14:31
Since runtime version 22.4.0, W3C WebSockets Client API is available on node.
We can switch to the native implementation, getting rid of two dependencies and some code that becomes useless.
There are a couple of downsides, though:
- Increase minimum runtime version to 22.4.0 (released on July 2024)
- Make impossible to send unsolicited ping frames from Janode (since this API is not exposed by the W3C specs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant