Azure Web PubSub: Real-time WebSockets

Azure SignalR Service is great, but it is tied to .NET semantics. Azure Web PubSub is the protocol-agnostic successor.

How it works

It provides a WebSocket endpoint that any client (Python, Go, JS) can connect to using the standard WebSocket API, not a SignalR client.

const ws = new WebSocket("wss://myhub.webpubsub.azure.com/client/hubs/chat");

It supports the json.webpubsub.azure.v1 subprotocol for pub/sub (Join Group, Send to Group) directly from the client.


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.