Expand description
Enhanced Stream Manager with MCP 2025-06-18 Resumability
This module provides proper SSE stream management with:
- Event IDs for resumability
- Last-Event-ID header support
- Per-session event targeting (not broadcast to all)
- Event persistence and replay
- Proper HTTP status codes and headers
Structs§
- SseStream
- SSE stream wrapper that formats events properly (MCP compliant - one connection per stream)
- Stream
Config - Configuration for stream management
- Stream
Manager - Enhanced stream manager with resumability support (MCP spec compliant)
- Stream
Stats - Stream manager statistics
Enums§
- Stream
Error - Error type for stream management
Type Aliases§
- Connection
Id - Connection ID for tracking individual SSE streams
- Connections
Map - Session
Connections