Microsoft/azure-web-pubsub-ts — Agent Skills | officialskills.sh
Back to skills

azure-web-pubsub-ts

Azure Web PubSub skill covers both server-side management and client-side connection for real-time WebSocket messaging on Azure.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-web-pubsub-ts
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-web-pubsub-ts
View on GitHub

What This Skill Does

Azure Web PubSub skill covers both server-side management and client-side connection for real-time WebSocket messaging on Azure. It handles token generation, group membership, message broadcasting, and event handling through the @azure/web-pubsub, @azure/web-pubsub-client, and @azure/web-pubsub-express packages.

It abstracts WebSocket connection management, token signing, and group routing that you would otherwise build and maintain yourself against the raw Azure Web PubSub REST API.

When to use it

  • Broadcasting live score updates to all connected users in a sports app
  • Managing group chat rooms where users join, leave, and send messages
  • Pushing server-side notifications to specific users without polling
  • Handling connection authentication and role assignment at connect time
  • Sending filtered messages to subsets of users using OData expressions