What you can do with Azure Web PubSub
Every task in plain language. Pick one, and we can help you get access.
12 things you can do
Azure Web PubSub
Azure Web PubSub is a fully-managed service that enables building real-time, two-way messaging applications using publish-subscribe patterns over WebSockets. It supports broadcasting messages to clients in groups, sending messages to specific connections or users, and integrating with serverless event handlers for scalable real-time experiences.
12 multi-step recipesRecipes: multi-step jobs
Broadcast to Group if ActiveCheck whether a group has connections, then broadcast only if it does.Check then Close Connection
Check whether a connection exists, then close it if present.Direct Connection Message
Verify a connection exists, then send a message directly to that connection.Generate Token then Broadcast
Generate a client access token for a hub, then broadcast a message to all connections.Grant Permission if Missing
Check a connection's permission, then grant it only if not already held.Grant Permission then Send to User
Grant a sendToGroup or joinLeaveGroup permission to a connection, then send a message to the user.Join Group, Send, then Leave
Add a connection to a group, send a message to the group, then remove the connection.Notify User if Online
Check whether a user is connected, then send a message only if online.Onboard User to Group
Add a user to a group, then send the user a welcome message.Provision Client and Join Group
Generate a client token, add a connection to a group, then announce the join to the group.Revoke Permission and Evict Connection
Revoke a connection's permission, then close the connection.Warn Group and Tear Down
Send a final warning to a group, then close all connections in the group.