janode icon indicating copy to clipboard operation
janode copied to clipboard

websockets: use native websockets and remove extra dependencies

Open atoppi opened this issue 9 months ago • 0 comments

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 avatar Apr 08 '25 11:04 atoppi