https://htmx.org logo
Bringing this back to htmx-related stuff... (heh) ...
# rust-htmx
l
Bringing this back to htmx-related stuff... (heh) My initial thought on the request site was to make an
Htmx
struct, with its
::new()
taking Actix's
HttpRequest
struct for the current request. The struct would have a boolean
is_htmx
that would be set if
HX-Request
is present, and the remaining properties would be `Option`s that would be filled with the remaining htmx headers. It looks like that wouldn't incur too much overhead.
5 Views