Skip to content

WebSocket Updates

mockd uses WebSocket connections to push request log updates to your browser in real time.

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.

  1. Connect — the dashboard opens a WebSocket when you view an endpoint
  2. Receive — each incoming request to the endpoint is pushed as a log entry
  3. Disconnect — the connection closes when you navigate away

Updates are scoped to the project level. You only receive log entries for the project you’re currently viewing, delivered with minimal latency.