Skip to main content

with_request_scope_csrf

Function with_request_scope_csrf 

Source
pub async fn with_request_scope_csrf<F, T>(csrf: String, fut: F) -> T
where F: Future<Output = T>,
Expand description

Run fut with both a fresh mount scope AND a CSRF token bound for boot_script.