Skip to main content

write_auth

Function write_auth 

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

Write auth credentials as raw bytes to a stream.

pproxy format: raw user:pass string bytes.