Trait salvo_csrf::CsrfDepotExt
source · pub trait CsrfDepotExt {
fn csrf_token(&self) -> Option<&String>;
}
Expand description
Extesion for Depot.
Required Methods§
sourcefn csrf_token(&self) -> Option<&String>
fn csrf_token(&self) -> Option<&String>
Get csrf token reference from depot.