Skip to main content

read_control

Function read_control 

Source
pub async fn read_control<R: AsyncRead + Unpin>(
    r: &mut R,
    max_body: usize,
    max_entries: usize,
) -> Result<Control>
Expand description

Read one control message, refusing bodies larger than max_body.