Skip to main content

text_response

Function text_response 

Source
pub fn text_response(
    body: impl Into<String>,
) -> Result<Response<Full<Bytes>>, OxiHttpError>
Expand description

Build a plain text response.