Skip to content

Commit e709d0d

Browse files
authored
fix: remove default type param from StreamableHttpService (#758)
1 parent d485249 commit e709d0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/rmcp/src/transport/streamable_http_server

crates/rmcp/src/transport/streamable_http_server/tower.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ fn validate_protocol_version_header(headers: &http::HeaderMap) -> Result<(), Box
185185
/// # todo!()
186186
/// }
187187
/// ```
188-
pub struct StreamableHttpService<S, M = super::session::local::LocalSessionManager> {
188+
pub struct StreamableHttpService<S, M> {
189189
pub config: StreamableHttpServerConfig,
190190
session_manager: Arc<M>,
191191
service_factory: Arc<dyn Fn() -> Result<S, std::io::Error> + Send + Sync>,

0 commit comments

Comments
 (0)