WebSocket Updates
mockd uses WebSocket connections to push request log updates to your browser in real time.
How It Works
Section titled “How It Works”When you open an endpoint detail page, the dashboard establishes a WebSocket connection to the server managing that project. As new requests arrive, log entries are broadcast to all connected clients.
Connection Lifecycle
Section titled “Connection Lifecycle”- Connect — the dashboard opens a WebSocket when you view an endpoint
- Receive — each incoming request to the endpoint is pushed as a log entry
- Disconnect — the connection closes when you navigate away
Scoping
Section titled “Scoping”Updates are scoped to the project level. You only receive log entries for the project you’re currently viewing, delivered with minimal latency.