pub struct StreamServerConfig {
pub stateful_mode: bool,
pub mcp_id: Option<String>,
pub tool_filter: Option<ToolFilter>,
pub backend_isolation: Option<BackendIsolation>,
pub max_sessions: Option<usize>,
pub connect_timeout: Duration,
}Expand description
Configuration for the Streamable HTTP server
Fields§
§stateful_mode: boolEnable stateful mode with session management
mcp_id: Option<String>MCP service identifier for logging
tool_filter: Option<ToolFilter>Tool filter configuration
backend_isolation: Option<BackendIsolation>Backend isolation (None = default by backend type)
max_sessions: Option<usize>Max concurrent upstream sessions (None = unlimited)
connect_timeout: DurationPer-session backend connect timeout (URL lazy connect)
Trait Implementations§
Source§impl Clone for StreamServerConfig
impl Clone for StreamServerConfig
Source§fn clone(&self) -> StreamServerConfig
fn clone(&self) -> StreamServerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamServerConfig
impl Debug for StreamServerConfig
Auto Trait Implementations§
impl Freeze for StreamServerConfig
impl RefUnwindSafe for StreamServerConfig
impl Send for StreamServerConfig
impl Sync for StreamServerConfig
impl Unpin for StreamServerConfig
impl UnsafeUnpin for StreamServerConfig
impl UnwindSafe for StreamServerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more