Skip to main content

client_auth_handshake

Function client_auth_handshake 

Source
pub async fn client_auth_handshake(
    stream: &mut TcpStream,
    username: &str,
    password: &str,
) -> Result<(), ProtocolError>
Expand description

Perform the client-side auth handshake: send credentials, read response.