fix: remove default type param from StreamableHttpService (#758)
This commit is contained in:
parent
d485249048
commit
e709d0d084
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ fn validate_protocol_version_header(headers: &http::HeaderMap) -> Result<(), Box
|
||||||
/// # todo!()
|
/// # todo!()
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
pub struct StreamableHttpService<S, M = super::session::local::LocalSessionManager> {
|
pub struct StreamableHttpService<S, M> {
|
||||||
pub config: StreamableHttpServerConfig,
|
pub config: StreamableHttpServerConfig,
|
||||||
session_manager: Arc<M>,
|
session_manager: Arc<M>,
|
||||||
service_factory: Arc<dyn Fn() -> Result<S, std::io::Error> + Send + Sync>,
|
service_factory: Arc<dyn Fn() -> Result<S, std::io::Error> + Send + Sync>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue