mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
527 stars 119 forks source link

fix(WebSocket): add "client.id" property #508

Closed kettanaito closed 5 months ago

kettanaito commented 5 months ago

When implementing broadcasting, there has to be an identifier for each client connection. The client.id string serves as the identifier.

On broadcasting API in the Interceptors

I believe that the Interceptors library should remain low-level. This means that higher-level features such as event broadcasting have to be implemented by higher-level libraries like MSW.

kettanaito commented 5 months ago

Released: v0.26.4 🎉

This has been released in v0.26.4!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.