pub struct HttpTransport { /* private fields */ }Expand description
HTTP transport for remote MCP servers
Implementations§
Source§impl HttpTransport
impl HttpTransport
Sourcepub fn with_max_response_size(self, size: usize) -> Self
pub fn with_max_response_size(self, size: usize) -> Self
Set maximum response size
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Set timeout
Trait Implementations§
Source§impl McpTransport for HttpTransport
impl McpTransport for HttpTransport
Auto Trait Implementations§
impl Freeze for HttpTransport
impl !RefUnwindSafe for HttpTransport
impl Send for HttpTransport
impl Sync for HttpTransport
impl Unpin for HttpTransport
impl !UnwindSafe for HttpTransport
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