Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Conversation

kettanaito
Copy link
Member

@kettanaito kettanaito commented Feb 16, 2024

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 kettanaito merged commit a70a2e8 into main Feb 16, 2024
1 check passed
@kettanaito kettanaito deleted the fix/ws-connection-id branch February 16, 2024 16:08
@kettanaito
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant