Skip to main content

respond_html

Function respond_html 

Source
pub fn respond_html(status: u16, html: String) -> HttpResponse
Expand description

Build an HTML HttpResponse with mandatory strict CSP and security headers.