pub struct TransportConfig {
pub agent_tasks: bool,
pub openai_responses: bool,
pub claude_messages: bool,
pub sse: bool,
pub websocket: bool,
pub websocket_max_message_bytes: usize,
}Expand description
Explicit public transport selection.
WebSocket uses an HTTP upgrade on the same listener; it is not a hidden second port. Keeping each surface explicit lets a distribution expose only the protocol it has reviewed and tested.
Fields§
§agent_tasks: bool§openai_responses: bool§claude_messages: bool§sse: bool§websocket: bool§websocket_max_message_bytes: usizeTrait Implementations§
Source§impl Clone for TransportConfig
impl Clone for TransportConfig
Source§impl Debug for TransportConfig
impl Debug for TransportConfig
Source§impl Default for TransportConfig
impl Default for TransportConfig
Source§impl<'de> Deserialize<'de> for TransportConfigwhere
TransportConfig: Default,
impl<'de> Deserialize<'de> for TransportConfigwhere
TransportConfig: Default,
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
impl Eq for TransportConfig
Source§impl PartialEq for TransportConfig
impl PartialEq for TransportConfig
impl StructuralPartialEq for TransportConfig
Auto Trait Implementations§
impl Freeze for TransportConfig
impl RefUnwindSafe for TransportConfig
impl Send for TransportConfig
impl Sync for TransportConfig
impl Unpin for TransportConfig
impl UnsafeUnpin for TransportConfig
impl UnwindSafe for TransportConfig
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