Skip to main content

peek_method

Function peek_method 

Source
pub async fn peek_method<R: AsyncRead + Unpin>(
    recv: &mut R,
) -> Result<String, FrameError>
Expand description

Read only the method prefix; payload stays unread.