Function to_text_response

Source
pub fn to_text_response(text: &str) -> Result<Response<String>>
Expand description

Returns a 200 response with a text body.