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