pub struct Codec(_);Implementations§
source§impl Codec
impl Codec
sourcepub fn set_recv_frame_size(&self, val: usize)
pub fn set_recv_frame_size(&self, val: usize)
Updates the max received frame size.
The change takes effect the next time a frame is decoded. In other
words, if a frame is currently in process of being decoded with a frame
size greater than val but less than the max frame size in effect
before calling this function, then the frame will be allowed.
sourcepub fn recv_frame_size(&self) -> u32
pub fn recv_frame_size(&self) -> u32
Local max frame size.
sourcepub fn set_recv_header_list_size(&self, val: usize)
pub fn set_recv_header_list_size(&self, val: usize)
Set the max header list size that can be received.
sourcepub fn set_send_frame_size(&self, val: usize)
pub fn set_send_frame_size(&self, val: usize)
Set the peer’s max frame size.
sourcepub fn set_send_header_table_size(&self, val: usize)
pub fn set_send_header_table_size(&self, val: usize)
Set the peer’s header table size size.
sourcepub fn send_frame_size(&self) -> u32
pub fn send_frame_size(&self) -> u32
Remote max frame size.