Function http_types::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