Skip to content

Add raw WebSocket support to Web PubSub emulator - #1052

Merged
Liangying.Wei (vicancy) merged 2 commits into
Azure:mainfrom
vicancy:emulator/02-client-endpoint
Aug 28, 2026
Merged

Add raw WebSocket support to Web PubSub emulator#1052
Liangying.Wei (vicancy) merged 2 commits into
Azure:mainfrom
vicancy:emulator/02-client-endpoint

Conversation

@vicancy

Copy link
Copy Markdown
Member

Summary

  • add the raw WebSocket client endpoint with access-key JWT validation
  • keep group membership connection-scoped and authorize raw send-to-group operations from token roles
  • manage active connection lifecycle with bounded, single-writer outbound delivery and slow-peer termination
  • print startup connection guidance without exposing configured access keys
  • document JSON and reliable protocols as deferred follow-up work

Validation

  • Release build: 0 warnings, 0 errors
  • Tests: 22 passed
  • Packed and installed Microsoft.Azure.WebPubSub.Emulator 1.0.0-beta.1 as a local .NET tool
  • Verified HEAD /api/health and JWT-authenticated raw text and binary fan-out against the installed tool

@vicancy
Liangying.Wei (vicancy) merged commit f155c4b into Azure:main Aug 28, 2026
11 checks passed
@vicancy
Liangying.Wei (vicancy) deleted the emulator/02-client-endpoint branch August 28, 2026 01:57
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.

2 participants