pub fn error(w: &mut dyn ResponseWriter, message: &str, code: u16)Expand description
Write a plain-text error response.
Port of Go’s http.Error.
pub fn error(w: &mut dyn ResponseWriter, message: &str, code: u16)Write a plain-text error response.
Port of Go’s http.Error.