pub fn write_hx_fragment_response_with_csrf(
app: &AppRuntime,
request: Option<&HttpRequest>,
fragment_html: &str,
) -> StringExpand description
Builds an HTMX fragment response with a scoped base path and CSRF cookie.
§Parameters
app: Input consumed bycrate::runtime::dynamic::write_hx_fragment_response_with_csrf.request: Input consumed bycrate::runtime::dynamic::write_hx_fragment_response_with_csrf.fragment_html: Input consumed bycrate::runtime::dynamic::write_hx_fragment_response_with_csrf.
§Returns
Returns the computed value produced by crate::runtime::dynamic::write_hx_fragment_response_with_csrf.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::write_hx_fragment_response_with_csrf(todo!(), todo!(), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.