pub fn csrf_token_from_cookie(cookie_header: Option<&str>) -> Option<String>Expand description
Returns the CSRF cookie token when present.
§Parameters
cookie_header: Input consumed bycrate::runtime::dynamic::csrf_token_from_cookie.
§Returns
Returns Some when crate::runtime::dynamic::csrf_token_from_cookie can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::csrf_token_from_cookie("session=abc");§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.