15 lines
549 B
Markdown
15 lines
549 B
Markdown
# 2.5 — GET /api/stream (mock, GREEN)
|
|
|
|
Phase: 2 — Topology (Surface B)
|
|
Stage: GREEN
|
|
|
|
- [x] `GET /api/stream` — SSE, `topology` event type, keepalive comment frame every 30s
|
|
|
|
Done — implemented in [app/api/stream/route.ts](../app/api/stream/route.ts). Emits a synthetic random-namespace delta every 5s plus a keepalive comment every 30s. Mock only: no session cookie, no 2-concurrent/IP cap, no `Last-Event-ID` resume, no real informer. See [REQUIREMENTS.md](REQUIREMENTS.md).
|
|
|
|
## Verify
|
|
|
|
```bash
|
|
curl -N http://localhost:3000/api/stream
|
|
```
|