pub struct PMDConfig {
pub server_no_context_takeover: bool,
pub client_no_context_takeover: bool,
pub server_max_window_bits: WindowBit,
pub client_max_window_bits: WindowBit,
}
Expand description
permessage-deflate
Fields§
§server_no_context_takeover: bool
§client_no_context_takeover: bool
§server_max_window_bits: WindowBit
§client_max_window_bits: WindowBit
Implementations§
Source§impl PMDConfig
impl PMDConfig
Sourcepub fn ext_string(&self) -> String
pub fn ext_string(&self) -> String
get extension string
Sourcepub fn multi_ext_string(configs: &[PMDConfig]) -> String
pub fn multi_ext_string(configs: &[PMDConfig]) -> String
helper function to build multi permessage deflate config header
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PMDConfig
impl RefUnwindSafe for PMDConfig
impl Send for PMDConfig
impl Sync for PMDConfig
impl Unpin for PMDConfig
impl UnwindSafe for PMDConfig
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