Skip to main content

csrf_request_valid

Function csrf_request_valid 

Source
pub fn csrf_request_valid(
    request: &HttpRequest,
    form_body: Option<&str>,
) -> bool
Expand description

Parses one bounded runtime timestamp from either epoch seconds or UTC text.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::dynamic::csrf_request_valid holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::csrf_request_valid.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::csrf_request_valid(todo!(), "name=value");