WebSocket-Node icon indicating copy to clipboard operation
WebSocket-Node copied to clipboard

A WebSocket Implementation for Node.JS (Draft -08 through the final RFC 6455)

Results 81 WebSocket-Node issues
Sort by recently updated
recently updated
newest added

https://lemire.me/blog/2023/12/05/how-fast-can-you-validate-utf-8-strings-in-javascript/

added **real time data transfer between clients** code in readme

Hello. I use websocket module on multiple project without problem. Now, I try to reinstall an existing project on a new linux computer, and to add each nodejs module manualy....

Im trying to connect to ws that proxyed using cloudflare, it wint allow me.. If im trying with direct ip it works, but the tbe domain it wont, I tryed...

Hi, If I run the attached example [websocket.zip](https://github.com/theturtle32/WebSocket-Node/files/14522187/websocket.zip) with nodejs it works: ``` $ node server.js Thu Mar 07 2024 09:39:55 GMT+0000 (Coordinated Universal Time) Server is listening on port...

## Summary Implements Phase 3.2 of the test suite modernization plan with comprehensive WebSocketConnection testing. This PR adds 77 comprehensive tests covering all aspects of WebSocket connection functionality, achieving 74%...

If a client closes very early, the server's write() of its part of the handshake fails with EPIPE. This happens before the underlying socket 'error' handler has been put in...

node:events:496 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:216:20) Emitted 'error' event on TLSSocket instance at: at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21)...

https://github.com/theturtle32/WebSocket-Node/blob/master/lib/WebSocketClient.js#L192 Here it may make sense to add Cache-Control: no-cache Pragma: no-cache To improve compatibility with caches