Skip to main content

security_headers

Function security_headers 

Source
pub async fn security_headers(request: Request, next: Next) -> Response
Expand description

Axum middleware that sets security-hardening response headers on every response.