[][src]Function muoxi_staging::send

pub async fn send<'a>(
    client: &'a mut Client,
    msg: &'a str
) -> LinesCodecResult<()>

Friendly async wrapper to sending messages to client object

let msg = "Hello, and welcome to hell";
send(&client, msg).await?;