Expand description
Proprietary Prism HTTP transport extensions
This module implements historical Prism chunked/compressed endpoints. It is
not the MCP 2026 Streamable HTTP conformance surface. Prefer
HttpClientTransport and HttpServerTransport for interoperable MCP; these
helpers require explicit ProtocolMode::LegacyOnly at the high-level client.
§Feature Requirements
# Cargo.toml - HTTP enhancements
[dependencies]
prism-mcp-rs = { version = "3", features = ["http", "chunked-encoding", "compression", "http2"] }Individual features:
§Chunked Encoding Feature
[dependencies]
prism-mcp-rs = { version = "3", features = ["chunked-encoding"] }Enables Prism-specific chunked request endpoints for matching legacy peers.
§Compression Feature
[dependencies]
prism-mcp-rs = { version = "3", features = ["compression"] }Enables response compression with Gzip, Brotli, and Zstd algorithms.
§HTTP/2 Feature
[dependencies]
prism-mcp-rs = { version = "3", features = ["http2"] }Enables HTTP/2 protocol support with multiplexing and server push.
§Capabilities
- Chunked transfer encoding for large payloads
- Response compression: Gzip, Brotli, Zstd
- HTTP/2 protocol primitives
- Configurable compression strategies
- Backpressure and flow control
Use only when both peers explicitly implement these endpoints and deployment measurements justify the additional protocol surface.
Structs§
- Adaptive
Buffer - Analysis
Stats - Content
Analyzer - smart content analyzer for streaming decisions
- Flow
Control - Flow
Control Metrics - Http2
Config - HTTP/2 specific configuration
- Http2
Stream Manager - HTTP/2 stream management for bidirectional communication
- Network
Metrics - Push
Promise - HTTP/2 Push Promise metadata
- Stream
Info - Streaming
Analysis - Streaming
Buffer - Streaming buffer with flow control
- Streaming
Compressor - Streaming compressor for multiple compression algorithms
- Streaming
Config - Configuration for streaming HTTP transport
- Streaming
Http Client Transport - Streaming HTTP client transport with advanced features
Enums§
Type Aliases§
- Server
Push Handler - HTTP/2 Server Push handler for processing pushed streams