Vitreous.DevUI.Middleware namespace
Classes
Section titled “Classes”Manages active SSE client connections and broadcasts new traces to all of them. Thread-safe. Each client has a bounded buffer; a client that falls that far behind is disconnected (its browser reconnects and replays the buffer).
Represents an active SSE subscription for one client. Disposing it removes the client from SseConnectionManager.
ASP.NET Core middleware that serves the Vitreous Developer UI.
Mounts these endpoints under the configured path prefix (default /vitreous):
GET /vitreous— serves the embedded single-file HTML UI.GET /vitreous/events— SSE stream of live [ExecutionTrace](/Vitreous/api/vitreous/devui/tracing/executiontrace/) events.GET /vitreous/api/traces— JSON snapshot of the current ring buffer (for initial load).GET /vitreous/api/config— settings the UI needs.
Prefer MapVitreousDevUI(), which supports endpoint conventions such as
RequireAuthorization().