Setup & Installation
What This Skill Does
Java SDK for Azure Web PubSub, a managed service that handles WebSocket connections at scale. Use it to send messages to individual connections, users, or groups from your server-side Java code.
Managing WebSocket connections yourself requires handling reconnects, scaling across servers, and tracking connection state — Azure Web PubSub offloads all of that so you call one method to reach thousands of clients.
When to use it
- Broadcasting a live sports score update to all connected clients
- Sending a private message to a specific user across all their active sessions
- Adding a new connection to a 'premium' group when a user upgrades their subscription
- Generating a signed client access token with scoped group permissions on login
- Closing all connections for a user when their account is suspended