pub struct MCPStreamableHTTPParams {
    pub url: String,
    pub authorization: Option<String>,
}Expand description
Connects to a remote MCP server exposing the streamable HTTP transport.
Fields§
§url: StringBase URL for the MCP server.
Authorization header value when required. OAuth flows are not automated, so supply a token directly.
Trait Implementations§
Source§impl Clone for MCPStreamableHTTPParams
 
impl Clone for MCPStreamableHTTPParams
Source§fn clone(&self) -> MCPStreamableHTTPParams
 
fn clone(&self) -> MCPStreamableHTTPParams
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 MCPStreamableHTTPParams
 
impl Debug for MCPStreamableHTTPParams
Source§impl<'de> Deserialize<'de> for MCPStreamableHTTPParams
 
impl<'de> Deserialize<'de> for MCPStreamableHTTPParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MCPStreamableHTTPParams
impl RefUnwindSafe for MCPStreamableHTTPParams
impl Send for MCPStreamableHTTPParams
impl Sync for MCPStreamableHTTPParams
impl Unpin for MCPStreamableHTTPParams
impl UnwindSafe for MCPStreamableHTTPParams
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