pub fn request_is_hx(request: Option<&HttpRequest>) -> boolExpand description
Detects the HTMX request header using case-insensitive line parsing.
§Parameters
request: Input consumed bycrate::runtime::dynamic::request_is_hx.
§Returns
Returns true when the condition checked by crate::runtime::dynamic::request_is_hx 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::request_is_hx.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::request_is_hx(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.