Function write_http_resp

Source
pub async fn write_http_resp<T>(
    stream: &mut T,
    status: u16,
    status_str: &str,
    content: &str,
    content_type: &str,
) -> Result<()>