Skip to main content

csrf

Function csrf 

Source
pub async fn csrf(
    __arg0: State<CsrfConfig>,
    request: Request,
    next: Next,
) -> Response
Expand description

Enforces source and double-submit checks on product-selected unsafe requests.