pub struct BridgeSettings {
pub host: String,
pub port: u16,
pub pairing_ttl_secs: u64,
pub max_frame_bytes: usize,
pub max_in_flight_requests: usize,
pub remote_enabled: bool,
}Expand description
Non-secret bridge settings returned to an authenticated browser.
The origin is returned separately in StatusPayload because the server
may allow more than one configured origin while each session is bound to
exactly one request origin. Pairing codes and session tokens are never
included in this structure.
Fields§
§host: StringLiteral address configured for the listener.
port: u16Configured listener port; zero means that the operating system chooses one.
pairing_ttl_secs: u64Pairing-code lifetime and authenticated-session inactivity lease.
max_frame_bytes: usizeMaximum accepted WebSocket frame size.
max_in_flight_requests: usizeMaximum concurrent bridge operations.
remote_enabled: boolWhether the server was configured for a TLS-terminating remote proxy.
Trait Implementations§
Source§impl Clone for BridgeSettings
impl Clone for BridgeSettings
Source§fn clone(&self) -> BridgeSettings
fn clone(&self) -> BridgeSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BridgeSettings
impl Debug for BridgeSettings
Auto Trait Implementations§
impl Freeze for BridgeSettings
impl RefUnwindSafe for BridgeSettings
impl Send for BridgeSettings
impl Sync for BridgeSettings
impl Unpin for BridgeSettings
impl UnsafeUnpin for BridgeSettings
impl UnwindSafe for BridgeSettings
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