pub struct StreamServerConfig {
pub stateful_mode: bool,
pub mcp_id: Option<String>,
pub tool_filter: Option<ToolFilter>,
}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
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 · 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
Source§impl Default for StreamServerConfig
impl Default for StreamServerConfig
Source§fn default() -> StreamServerConfig
fn default() -> StreamServerConfig
Returns the “default value” for a type. Read more
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