Function mio_surf::http::security::frameguard[][src]

pub fn frameguard(headers: impl AsMut<Headers>, guard: Option<FrameOptions>)

Mitigates clickjacking attacks by setting the X-Frame-Options header.

read more