tungstenite::handshake::server

Function write_response

Source
pub fn write_response<T>(w: impl Write, response: &Response<T>) -> Result<()>
Expand description

Write response to the stream w.