Skip to content

Emulator: add direct connection REST APIs - #1087

Merged
Liangying.Wei (vicancy) merged 3 commits into
Azure:mainfrom
vicancy:emulator/08-rest-direct-connection
Sep 3, 2026
Merged

Liangying.Wei (vicancy) merged 3 commits into
Azure:mainfrom
vicancy:emulator/08-rest-direct-connection

Conversation

@vicancy

@vicancy Liangying.Wei (vicancy) commented Sep 3, 2026 •

Copy link
Copy Markdown
Member

Relationship

This is a focused slice extracted from the umbrella emulator PR #1048. It preserves that PR's emulator semantics, including accepting valid messageTtlSeconds values for immediate delivery without modeling expiration.

Summary

  • add authenticated connection presence and direct-send REST operations
  • deliver text, JSON, and binary data through raw, JSON, and reliable client paths
  • validate API versions, request-scoped access-key tokens, content, metadata, and TTL ranges
  • verify compatibility with Azure.Messaging.WebPubSub 1.6.0

Validation

  • 116 emulator tests passed in Release
  • official .NET server SDK integration test passed
  • valid message TTL values are accepted and delivered immediately
  • adversarial runtime comparison found no merge blockers
  • git diff --check passed

Deliberate gaps

  • message expiration is not modeled; valid TTL values are accepted and otherwise ignored
  • preview API versions and other REST operations remain unsupported

@vicancy
Liangying.Wei (vicancy) merged commit b632ee8 into Azure:main Sep 3, 2026
11 checks passed
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