html

Function html 

Source
pub fn html(req: &HttpRequest, html: impl Into<String>) -> HttpResponse
Expand description

HTML response (text/html)

Also stamps an ETag to enable caching