Skip to main content

send_error

Function send_error 

Source
pub async fn send_error<S>(writer: &mut S, message: &str) -> Result<()>
where S: SinkExt<Message> + Unpin,
Expand description

Build and send an error frame.