Skip to main content

write_command

Function write_command 

Source
pub async fn write_command<W: AsyncWrite + Unpin>(
    writer: &mut W,
    command: &str,
    params: &str,
) -> Result<()>
Expand description

Encode command + params as a netstring and write to writer.