Skip to main content

parse_auth

Function parse_auth 

Source
pub fn parse_auth(frame: &Frame) -> Result<&str, FrameError>
Expand description

Read the candidate password out of an Auth frame. The bytes must be valid UTF-8; non-UTF-8 inputs surface as a clear protocol error.