rust-sdk/crates/rmcp/src/transport/common.rs
Dale Seo 11f525c503
feat!: add SEP-2243 HTTP standard headers (#907)
* feat: add SEP-2243 HTTP standard headers

* feat!: validate Mcp-Param-* headers on server

* fix: emit Mcp-Method on reinit initialized POST

* fix: align header mismatch error code with draft spec

* chore: remove redundant streamable HTTP client comments
2026-07-10 11:16:29 -04:00

22 lines
660 B
Rust

#[cfg(feature = "transport-streamable-http-server")]
pub mod server_side_http;
pub mod http_header;
#[cfg(any(feature = "client-side-sse", feature = "server-side-http"))]
pub mod mcp_headers;
#[cfg(feature = "__reqwest")]
mod reqwest;
// Note: This module provides SSE stream parsing and auto-reconnect utilities.
// It's used by the streamable HTTP client (which receives SSE-formatted responses),
// not the removed SSE transport. The name is historical.
#[cfg(feature = "client-side-sse")]
pub mod client_side_sse;
#[cfg(feature = "auth")]
pub mod auth;
#[cfg(all(unix, feature = "transport-streamable-http-client-unix-socket"))]
pub mod unix_socket;