04WebSockets

Live WebSockets with SignalR

This terminal is connected to a live SignalR hub. It displays real-time events from your current session, including transport handshakes, presence updates, and keep-alive pings. Open another tab to see concurrent connection handling in action.

LIVE OPS CONSOLE

MAX 0
waiting for events…

WHAT YOU'RE LOOKING AT

WEBSOCKET TRANSPORT

SignalR negotiates the best available transport and lands on WebSockets when the browser supports it. Long-polling is the fallback, not the default.

HUB PROTOCOL

Every line above maps to a real frame on the wire: handshake on connect, invocations for application events, periodic keep-alives, ordered close on disconnect.

AUTOMATIC RECONNECT

Disconnect your network briefly to observe the reconnection logic. The client retries automatically using exponential backoff, and the server synchronizes a fresh presence snapshot upon recovery.

Stack

.NET 10SignalR@microsoft/signalrWebSocketReact 19TypeScriptPresenceHubConnectionTrackerHubConnectionReconnect StrategyPing/Pong Keep-alivePresence EventsAzure Container Apps