pub struct Http2ConnectionSettings {
pub header_table_size: u32,
pub enable_push: bool,
pub max_concurrent_streams: Option<u32>,
pub initial_window_size: u32,
pub max_frame_size: u32,
pub max_header_list_size: Option<u32>,
}Expand description
Active HTTP/2 connection settings negotiated across the lifetime of the connection.
Fields§
§header_table_size: u32§enable_push: bool§max_concurrent_streams: Option<u32>§initial_window_size: u32§max_frame_size: u32§max_header_list_size: Option<u32>Implementations§
Source§impl Http2ConnectionSettings
impl Http2ConnectionSettings
Sourcepub fn apply_settings(&mut self, payload: &[u8]) -> Result<(), FetchError>
pub fn apply_settings(&mut self, payload: &[u8]) -> Result<(), FetchError>
Applies received SETTINGS payload key-value pairs (RFC 7540 Section 6.5.2).
Trait Implementations§
Source§impl Clone for Http2ConnectionSettings
impl Clone for Http2ConnectionSettings
Source§impl Debug for Http2ConnectionSettings
impl Debug for Http2ConnectionSettings
Auto Trait Implementations§
impl Forget for Http2ConnectionSettings
impl Freeze for Http2ConnectionSettings
impl Move for Http2ConnectionSettings
impl RefUnwindSafe for Http2ConnectionSettings
impl Send for Http2ConnectionSettings
impl Sync for Http2ConnectionSettings
impl Unpin for Http2ConnectionSettings
impl UnsafeUnpin for Http2ConnectionSettings
impl UnwindSafe for Http2ConnectionSettings
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