Function write_response
pub fn write_response<T>(
w: impl Write,
response: &Response<T>,
) -> Result<(), Error>Available on crate features
handshake and ws only.Expand description
Write response to the stream w.