janode
janode copied to clipboard
websockets: use native websockets and remove extra dependencies
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).