Skip to main content

on_html

Function on_html 

Source
pub async fn on_html(response: Response) -> Response
Expand description

Set POLICY on a text/html response. Use as axum::middleware::map_response(csp::on_html), outermost.