ws icon indicating copy to clipboard operation
ws copied to clipboard

Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

Results 12 ws issues
Sort by recently updated
recently updated
newest added

I've read and followed the zlib "memory fragmentation" issue down to where people blaming the Linux kernel and glibc and whatnot. My two cents: * There is nothing wrong with...

discussion

I'm doing some expensive work in `verifyClient` and I'd like to reuse the result in the `connection` event handler. I'm currently using the fact that the undocumented `WebSocket` property `upgradeReq`...

- [x] I've searched for any related issues and avoided creating a duplicate issue. #### Description Node.js 15 already provides a native implementation of `EventTarget`, so there's no need to...

Now that node core has added websocket support over http2 https://github.com/nodejs/node/pull/23284, It's nice to know when it will be added to WS?

You have a `.close(code, data)` method here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L100 But you don't expose the callback here: https://github.com/websockets/ws/blob/master/lib/WebSocket.js#L121

This PR applies the suggestions from #1808 to add support to the client for named pipes on Windows. ### Cross Platform Example This example works on both MacOS and Windows....

### Is there an existing issue for this? - [X] I've searched for any related issues and avoided creating a duplicate issue. ### Description Is there any way to detect...

### Is there an existing issue for this? - [X] I've searched for any related issues and avoided creating a duplicate issue. ### Description Currently, `ws` doesn't accept `Blob` as...

The documentation doesn't specify how the `ws` module stream maps to which type of Node Duplex Stream. I assume that it behaves like a TCP Duplex Stream: . I also...

### Is there an existing issue for this? - [X] I've searched for any related issues and avoided creating a duplicate issue. ### Description Hello everyone, first of all, thank...