pub struct HttpTransportConfig {
pub host: String,
pub port: u16,
pub cors_enabled: bool,
pub protocol_version: String,
pub allow_origin: Option<String>,
pub monitoring_enabled: bool,
pub enable_sse_resumability: bool,
}Expand description
HTTP transport configuration
Fields§
§host: String§port: u16§cors_enabled: bool§protocol_version: String§allow_origin: Option<String>§monitoring_enabled: bool§enable_sse_resumability: boolTrait Implementations§
Source§impl Clone for HttpTransportConfig
impl Clone for HttpTransportConfig
Source§fn clone(&self) -> HttpTransportConfig
fn clone(&self) -> HttpTransportConfig
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 HttpTransportConfig
impl Debug for HttpTransportConfig
Source§impl Default for HttpTransportConfig
impl Default for HttpTransportConfig
Source§fn default() -> HttpTransportConfig
fn default() -> HttpTransportConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HttpTransportConfig
impl RefUnwindSafe for HttpTransportConfig
impl Send for HttpTransportConfig
impl Sync for HttpTransportConfig
impl Unpin for HttpTransportConfig
impl UnwindSafe for HttpTransportConfig
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