Function tauri::api::html::inject_csp[][src]

pub fn inject_csp<H>(html: H, csp: &str) -> String where
    H: Into<Tendril<UTF8, NonAtomic>>, 
Expand description

Injects a content security policy to the HTML.