async fn read_frame(
socket: &mut TcpSocket<'_>,
buf: &mut [u8],
) -> Result<(u8, usize), ()>Expand description
Read one complete client frame (masked, unfragmented) into buf.
async fn read_frame(
socket: &mut TcpSocket<'_>,
buf: &mut [u8],
) -> Result<(u8, usize), ()>Read one complete client frame (masked, unfragmented) into buf.